Skip to content

Commit f8e3b35

Browse files
committed
docs. for method setDropdownIcon
1 parent cca6dbc commit f8e3b35

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

BootstrapMenu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class BootstrapMenu extends QuickMenu
77
public function __construct($options = array())
88
{
99
parent::__construct($options);
10-
$this->setDropDownIcon('<i class="caret"></i>');
10+
$this->setDropdownIcon('<i class="caret"></i>');
1111
$this->set('ul-root', array('class'=>'nav navbar-nav', 'id'=>'#myMenu'));
1212
$this->set('ul', array('class'=>'dropdown-menu'));
1313
$this->set('li-parent', array('class'=>'dropdown'));

QuickMenu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function set($name, $value)
4444
* Set dropdown icon for display with submenus
4545
* @param string $content Content for the dropdown icon (Html code)
4646
*/
47-
public function setDropDownIcon($content)
47+
public function setDropdownIcon($content)
4848
{
4949
$this->dropdownIcon = $content;
5050
}

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,12 @@ Set result from query database
118118
* string $columnID The ID column name (Primary key)
119119
* string $columnParent The column name for identify the parent item
120120

121+
### setDropdownIcon($content)
122+
Set dropdown icon for display with submenus
123+
124+
**Parameters:**
125+
* string $content Content for the dropdown icon (Html code)
126+
121127
### set($name, $value)
122128
Set the attributes for the tag vars
123129

0 commit comments

Comments
 (0)