src/ADT/Tree/Menu/Item.php
public function toArray()
	{
		$array	= array(
			'url'		=> $this->url,
			'label'		=> $this->label,
			'classLink'	=> $this->attributes->get( 'classLink' ),
			'classItem'	=> $this->attributes->get( 'classItem' ),
			'classList'	=> $this->attributes->get( 'classList' ),
			'children'	=> 	parent::toArray()
		);
		return $array;
	}
public function toArray()
	{
		$array	= array(
			'url'		=> $this->url,
			'label'		=> $this->label,
			'classLink'	=> $this->attributes->get( 'classLink' ),
			'classItem'	=> $this->attributes->get( 'classItem' ),
			'classList'	=> $this->attributes->get( 'classList' ),
			'children'	=> 	parent::toArray()
		);
		return $array;
	}
public function toArray ( ) { $ array = array ( 'url' => $ this -> url , 'label' => $ this -> label , 'classLink' => $ this -> attributes -> get ( 'classLink' ) , 'classItem' => $ this -> attributes -> get ( 'classItem' ) , 'classList' => $ this -> attributes -> get ( 'classList' ) , 'children' => parent :: toArray ( ) ) ; return $ array ; }
Returns recursive Array Structure of this Item and its nested Tree Menu Items.
@access		public
@return		array
Returns recursive Array Structure of this Item and its nested Tree Menu Items .