public function getPage()
    {
        if ($this->page) {
            return $this->page;
        }

        // Remove original page
        $this->app->page_object->destroy(false);

        $this->page = $this->app->add(
            $this->page_class,
            $this->name,
            null,
            $this->page_template
        );
        /** @type Page $this->page */
        $this->app->page_object = $this->page;
        $this->app->stickyGET($this->name);

        return $this->page;
    }
public function getPage()
    {
        if ($this->page) {
            return $this->page;
        }

        // Remove original page
        $this->app->page_object->destroy(false);

        $this->page = $this->app->add(
            $this->page_class,
            $this->name,
            null,
            $this->page_template
        );
        /** @type Page $this->page */
        $this->app->page_object = $this->page;
        $this->app->stickyGET($this->name);

        return $this->page;
    }
public function getPage ( ) { if ( $ this -> page ) { return $ this -> page ; } // Remove original page $ this -> app -> page_object -> destroy ( false ) ; $ this -> page = $ this -> app -> add ( $ this -> page_class , $ this -> name , null , $ this -> page_template ) ; /** @type Page $this->page */ $ this -> app -> page_object = $ this -> page ; $ this -> app -> stickyGET ( $ this -> name ) ; return $ this -> page ; }
Simply returns a page we can put stuff on. This page would
be displayed instead of regular page, so beware.

@return Page page to be displayed
Simply returns a page we can put stuff on . This page would be displayed instead of regular page so beware .