![]() |
CMS
Version 3.9
|
ComponentPageView generates the page content for a component page, substituting page fields, menus and associated modules into an HTML template. More...
Public Member Functions | |
__construct ($page, $template="") | |
Creates a new ComponentPageView object. More... | |
drawView () | |
Renders the page. More... | |
Static Public Member Functions | |
static | renderPage ($identifier) |
Renders the component page that matches the specified identifier. More... | |
Public Attributes | |
$page | |
The ComponentPage object that we are viewing. More... | |
$template | |
The layout template used to render the page. More... | |
ComponentPageView generates the page content for a component page, substituting page fields, menus and associated modules into an HTML template.
Definition at line 48 of file component_page_view.inc.
ComponentPageView::__construct | ( | $page, | |
$template = "" |
|||
) |
Creates a new ComponentPageView object.
ComponentPage | $page | the page to be displayed |
string | $template | the template to use (default is to use the template specified by the ComponentPage object) |
Definition at line 82 of file component_page_view.inc.
ComponentPageView::drawView | ( | ) |
Renders the page.
Definition at line 91 of file component_page_view.inc.
|
static |
Renders the component page that matches the specified identifier.
Automatically redirects to login if the user doesn't have correct permissions.
string | $identifier | the identifier of the component page |
Definition at line 56 of file component_page_view.inc.
ComponentPageView::$page |
The ComponentPage object that we are viewing.
Definition at line 73 of file component_page_view.inc.
ComponentPageView::$template |
The layout template used to render the page.
Definition at line 74 of file component_page_view.inc.