public function getPreviousPage()
    {
        return ($this->record)
            ? $this->getManifest()->getPreviousPage(
                $this->record->getPath(),
                $this->getEntity()->getPath()
            )
            : null;
    }
public function getPreviousPage()
    {
        return ($this->record)
            ? $this->getManifest()->getPreviousPage(
                $this->record->getPath(),
                $this->getEntity()->getPath()
            )
            : null;
    }
public function getPreviousPage ( ) { return ( $ this -> record ) ? $ this -> getManifest ( ) -> getPreviousPage ( $ this -> record -> getPath ( ) , $ this -> getEntity ( ) -> getPath ( ) ) : null ; }
Returns the previous page. Either returns the previous sibling or the
parent of this page

@return DocumentationPage|null
Returns the previous page . Either returns the previous sibling or the parent of this page