setPage()
setPage(\Dewdrop\Admin\Page\PageAbstract $page) : \Dewdrop\View\Helper\PageDelegateInterface
Assign a page object the helper can use.
Parameters
\Dewdrop\Admin\Page\PageAbstract | $page |
Some helpers depend upon a page object to provide their functionality.
In Dewdrop core, the AdminUrl helper is the prime example of this. This interface lets \Dewdrop\View\View know that is the case so that it can pass along the page object when creating partials, etc.
setPage(\Dewdrop\Admin\Page\PageAbstract $page) : \Dewdrop\View\Helper\PageDelegateInterface
Assign a page object the helper can use.
\Dewdrop\Admin\Page\PageAbstract | $page |
getPage() : \Dewdrop\Admin\Page\PageAbstract
Get the page this helper uses to complete its task.