From b51c7e3b165ddce84267f0a96c7b9ebab34bf0bd Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Tue, 13 Aug 2013 22:21:21 -0400 Subject: [PATCH] Fixes #756: added doc to Dropdown. --- framework/yii/bootstrap/Dropdown.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/framework/yii/bootstrap/Dropdown.php b/framework/yii/bootstrap/Dropdown.php index 0568fe4..c8c1b7d 100644 --- a/framework/yii/bootstrap/Dropdown.php +++ b/framework/yii/bootstrap/Dropdown.php @@ -21,8 +21,9 @@ use yii\helpers\Html; class Dropdown extends Widget { /** - * @var array list of menu items in the dropdown. Each array element represents a single - * menu with the following structure: + * @var array list of menu items in the dropdown. Each array element can be either an HTML string, + * or an array representing a single menu with the following structure: + * * - label: string, required, the label of the item link * - url: string, optional, the url of the item link. Defaults to "#". * - linkOptions: array, optional, the HTML attributes of the item link.