public function getArea($name)
    {
        if(null === $this->areas)
        {
            $this->areas = array();

            $this->scanAreas($this->contentPath . $this->getNode()->getUri());
        }

        return array_key_exists($name, $this->areas) ? $this->areas[$name] : null;
    }
public function getArea($name)
    {
        if(null === $this->areas)
        {
            $this->areas = array();

            $this->scanAreas($this->contentPath . $this->getNode()->getUri());
        }

        return array_key_exists($name, $this->areas) ? $this->areas[$name] : null;
    }
public function getArea ( $ name ) { if ( null === $ this -> areas ) { $ this -> areas = array ( ) ; $ this -> scanAreas ( $ this -> contentPath . $ this -> getNode ( ) -> getUri ( ) ) ; } return array_key_exists ( $ name , $ this -> areas ) ? $ this -> areas [ $ name ] : null ; }
Return Area object if it exists

@param  string $name
@return Area
Return Area object if it exists