Property | Type | Description | |
---|---|---|---|
$app | App_Frontend | ||
$layout | AbstractView | Object for a custom layout, introduced in 4.3. | |
$namespace_routes | array | List of pages which are routed into namespace. | |
$page_class | string | Class which is used for static pages. | |
$page_object | Page | When page is determined, it's class instance is created and stored in here. |
Method | Description | |
---|---|---|
caughtException ( Exception $e ) | ||
initLayout ( ) | Content in the global (shared.html) template is rendered by page object. | |
layout_Content ( ) | ||
pageNotFound ( Exception $e ) | This method is called as a last resort, when page is not found. | |
routePages ( string $prefix, string $ns = null ) | Pages with a specified prefix will loaded from a specified namespace. |
Method | Description | |
---|---|---|
loadStaticPage ( string $page ) : Page | Attempts to load static page. Raises exception if not found. |
protected loadStaticPage ( string $page ) : Page | ||
$page | string | |
return | Page |
public pageNotFound ( Exception $e ) | ||
$e | Exception |
public routePages ( string $prefix, string $ns = null ) | ||
$prefix | string | |
$ns | string |
public AbstractView $layout | ||
return | AbstractView |
public array $namespace_routes | ||
return | array |
public string $page_class | ||
return | string |