public function SetTreeItem(IContentTreeProvider $tree, $item)
    {
        $this->tree = $tree;
        $this->item = $item;
        $this->content = $this->tree->ContentByItem($item);
    }
public function SetTreeItem(IContentTreeProvider $tree, $item)
    {
        $this->tree = $tree;
        $this->item = $item;
        $this->content = $this->tree->ContentByItem($item);
    }
public function SetTreeItem ( IContentTreeProvider $ tree , $ item ) { $ this -> tree = $ tree ; $ this -> item = $ item ; $ this -> content = $ this -> tree -> ContentByItem ( $ item ) ; }
Sets tree and tree item
@param IContentTreeProvider $tree
@param mixed $item The tree item containing the render content
Sets tree and tree item