public function addItem($url, $title, $badge=NULL, $class=NULL, $target=NULL) {

		$this->items[]	= self::getItemObject($url, $title, $badge, $class, $target);

	}
public function addItem($url, $title, $badge=NULL, $class=NULL, $target=NULL) {

		$this->items[]	= self::getItemObject($url, $title, $badge, $class, $target);

	}
public function addItem ( $ url , $ title , $ badge = NULL , $ class = NULL , $ target = NULL ) { $ this -> items [ ] = self :: getItemObject ( $ url , $ title , $ badge , $ class , $ target ) ; }
Adds a single-item menu entry. The optional badge can be a subtitle.

@param	string	Url of item.
@param	string	Title shown.
@param	string	Optional, can be an icon, a subtitle or icon placeholder.
@param	string	Optional, is CSS extra class definition.
@param	string	Optional, the anchor target.
Adds a single - item menu entry . The optional badge can be a subtitle .