public function findById($id)
    {
        $result = array();
        $relations = $this->getRelations();

        $items = $relations[RelationBuilder::TREE_PARAM_ITEMS];

        if (isset($items[$id])) {
            return $items[$id];
        } else {
            return false;
        }
    }
public function findById($id)
    {
        $result = array();
        $relations = $this->getRelations();

        $items = $relations[RelationBuilder::TREE_PARAM_ITEMS];

        if (isset($items[$id])) {
            return $items[$id];
        } else {
            return false;
        }
    }
public function findById ( $ id ) { $ result = array ( ) ; $ relations = $ this -> getRelations ( ) ; $ items = $ relations [ RelationBuilder :: TREE_PARAM_ITEMS ] ; if ( isset ( $ items [ $ id ] ) ) { return $ items [ $ id ] ; } else { return false ; } }
Finds a node by its associated id

@param string $id
@return array|boolean
Finds a node by its associated id