public function getRoot()
    {
        if ($this->getSection()->getRoot() instanceof Section) {
            return $this->getSection()->getRoot()->getPage();
        }

        return null;
    }
public function getRoot()
    {
        if ($this->getSection()->getRoot() instanceof Section) {
            return $this->getSection()->getRoot()->getPage();
        }

        return null;
    }
public function getRoot ( ) { if ( $ this -> getSection ( ) -> getRoot ( ) instanceof Section ) { return $ this -> getSection ( ) -> getRoot ( ) -> getPage ( ) ; } return null ; }
Returns the root page.

@return Page
Returns the root page .