public function addMulti($title, $list, $class=NULL) {

		$multi 			= new \stdClass();
		$multi->type	= 'multi';
		$multi->title	= $title;
		$multi->class	= $class;
		$multi->list	= array();
		foreach ($list as $i) {
			$multi->list[]	= $i;
		}

		$this->items[] = $multi;

	}
public function addMulti($title, $list, $class=NULL) {

		$multi 			= new \stdClass();
		$multi->type	= 'multi';
		$multi->title	= $title;
		$multi->class	= $class;
		$multi->list	= array();
		foreach ($list as $i) {
			$multi->list[]	= $i;
		}

		$this->items[] = $multi;

	}
public function addMulti ( $ title , $ list , $ class = NULL ) { $ multi = new \ stdClass ( ) ; $ multi -> type = 'multi' ; $ multi -> title = $ title ; $ multi -> class = $ class ; $ multi -> list = array ( ) ; foreach ( $ list as $ i ) { $ multi -> list [ ] = $ i ; } $ this -> items [ ] = $ multi ; }
Adds a multi-entry menu item. The list is array of single-item objects.

@param	string	Title for this item.
@param	array	List of single-item objects
@param	string	Optional, can be an icon, a subtitle or icon placeholder.
Adds a multi - entry menu item . The list is array of single - item objects .