public function createMenuNode($data) {
		$cls = $this->itemClass;
		$node = $cls::create($data, $this);
		$this->items[$node->ID] = $node;
		return $node;
	}
public function createMenuNode($data) {
		$cls = $this->itemClass;
		$node = $cls::create($data, $this);
		$this->items[$node->ID] = $node;
		return $node;
	}
public function createMenuNode ( $ data ) { $ cls = $ this -> itemClass ; $ node = $ cls :: create ( $ data , $ this ) ; $ this -> items [ $ node -> ID ] = $ node ; return $ node ; }
Creates a menu item from an array of data

@param array $data
@returns MenuItem
Creates a menu item from an array of data