public function getProperty($property, $default = null)
  {
    if(!$this->offsetExists($property))
    {
      $this->fetchNodeInfo();
    }

    if(!$this->offsetExists($property))
    {
      return $default;
    }

    return $this->nodeInfo[(string) $property];
  }
public function getProperty($property, $default = null)
  {
    if(!$this->offsetExists($property))
    {
      $this->fetchNodeInfo();
    }

    if(!$this->offsetExists($property))
    {
      return $default;
    }

    return $this->nodeInfo[(string) $property];
  }
public function getProperty ( $ property , $ default = null ) { if ( ! $ this -> offsetExists ( $ property ) ) { $ this -> fetchNodeInfo ( ) ; } if ( ! $ this -> offsetExists ( $ property ) ) { return $ default ; } return $ this -> nodeInfo [ ( string ) $ property ] ; }
Returns the specified property or a pre-defined default value from the node info array.

@param  string $property
@param  mixed  $default
@return mixed
Returns the specified property or a pre - defined default value from the node info array .