src/components/AdminMenu.php
public function getNodeData($id)
    {
        if (!isset($this->getMenu()[$id])) {
            return false;
        }
        
        return $this->getMenu()[$id];
    }
public function getNodeData($id)
    {
        if (!isset($this->getMenu()[$id])) {
            return false;
        }
        
        return $this->getMenu()[$id];
    }
public function getNodeData ( $ id ) { if ( ! isset ( $ this -> getMenu ( ) [ $ id ] ) ) { return false ; } return $ this -> getMenu ( ) [ $ id ] ; }
Get the node for a given array key.

@param integer $id
@return boolean|array
Get the node for a given array key .