ConsolePageView Class Reference
[Console]
Render page for console display. More...
Public Member Functions |
|
__construct ($page_data, $file=false) | |
render ($policy=self::NONE) | |
Process view and returnd the created
content. |
|
Protected Member Functions |
|
after_render (&$rendered_content, $policy) | |
Sets content. |
|
assign_default_vars ($policy) | |
Assign variables. |
|
render_postprocess (&$rendered_content, $policy) | |
Called after content is rendered, always.
|
|
render_preprocess ($policy) | |
Called before content is rendered, always.
|
|
should_cache () | |
Returns true, if cache should be used.
|
Detailed Description
Render page for console display.
Definition at line 8 of file consolepageview.cls.php.
Constructor & Destructor Documentation
ConsolePageView::__construct | ( | $ | page_data, | |
$ | file = false |
|||
) |
Reimplemented from ViewBase.
Definition at line 9 of file consolepageview.cls.php.
00009 { 00010 parent::__construct($page_data, 'console/page'); 00011 }
Member Function Documentation
ConsolePageView::after_render | ( | &$ | rendered_content, | |
$ | policy | |||
) | [protected] |
Sets content.
- Parameters:
-
mixed $rendered_content The content rendered int $policy If set to IView::DISPLAY, content is printed, if false it is returned only
- Returns:
- void
Reimplemented from ViewBase.
Definition at line 32 of file consolepageview.cls.php.
ConsolePageView::assign_default_vars | ( | $ | policy | ) | [protected] |
Assign variables.
- Parameters:
-
int $policy If set to IView::DISPLAY, content is printed, if false it is returned only
Reimplemented from PageViewBase.
Definition at line 71 of file consolepageview.cls.php.
ConsolePageView::render | ( | $ | policy =
self::NONE |
) |
Process view and returnd the created content.
- Parameters:
-
int $policy If set to IView::DISPLAY, content is printed, if false it is returned only
- Returns:
- string The rendered content
Reimplemented from PageViewBase.
Definition at line 20 of file consolepageview.cls.php.
00020 { 00021 $policy |= self::CONTENT_ONLY | self::NO_CACHE; 00022 return parent::render($policy); 00023 }
ConsolePageView::render_postprocess | ( | &$ | rendered_content, | |
$ | policy | |||
) | [protected] |
Called after content is rendered, always.
- Parameters:
-
mixed $rendered_content The content rendered $policy If set to IView::DISPLAY, content is printed, if false it is returned only
- Returns:
- void
Reimplemented from PageViewBase.
Definition at line 52 of file consolepageview.cls.php.
00052 { 00053 $this->send_status(); 00054 }
ConsolePageView::render_preprocess | ( | $ | policy | ) | [protected] |
Called before content is rendered, always.
- Parameters:
-
int $policy If set to IView::DISPLAY, content is printed, if false it is returned only
- Returns:
- void
Reimplemented from PageViewBase.
Definition at line 42 of file consolepageview.cls.php.
ConsolePageView::should_cache | ( | ) | [protected] |
Returns true, if cache should be used.
- Returns:
- bool
Reimplemented from PageViewBase.
Definition at line 61 of file consolepageview.cls.php.
The documentation for this class was generated from the following file:
- gyro/modules/console/view/base/consolepageview.cls.php