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

		$item 			= new \stdClass();
		$item->type		= 'single';
		$item->url		= $url;
		$item->title	= $title;
		$item->badge	= $badge;
		$item->class	= $class;
		$item->target	= $target;

		return $item;

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

		$item 			= new \stdClass();
		$item->type		= 'single';
		$item->url		= $url;
		$item->title	= $title;
		$item->badge	= $badge;
		$item->class	= $class;
		$item->target	= $target;

		return $item;

	}
public static function getItemObject ( $ url , $ title , $ badge = NULL , $ class = NULL , $ target = NULL ) { $ item = new \ stdClass ( ) ; $ item -> type = 'single' ; $ item -> url = $ url ; $ item -> title = $ title ; $ item -> badge = $ badge ; $ item -> class = $ class ; $ item -> target = $ target ; return $ item ; }
Static method utility to create single-item object.

@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.

@return	stdClass
Static method utility to create single - item object .