Wicked_Page::toView PHP Method

toView() public method

The returned object is supposed to be used with the _page.html.php partial.
public toView ( ) : object
return object A simple object.
    public function toView()
    {
        return (object) array('author' => $this->author(), 'date' => $this->formatVersionCreated(), 'name' => $this->pageUrl()->link(array('title' => sprintf(_("Display %s"), $this->pageName()))) . htmlspecialchars($this->pageName()) . '</a>', 'timestamp' => $this->versionCreated(), 'version' => $this->pageUrl()->link(array('title' => sprintf(_("Display Version %s"), $this->version()))) . $this->version() . '</a>');
    }