Method | Description | |
---|---|---|
constructUrl ( $pagePath, $getParams = null, $encodeAmpersand = true, $encodeGetItems = true ) : string | Constructs a URL with specified page path and GET parameters. | |
getBasePageClass ( ) : string | ||
getBasePath ( ) : string | ||
getClientScriptManagerClass ( ) : string | ||
getDefaultPage ( ) : string | ||
getDefaultPageUrl ( ) : string | ||
getRequestedPage ( ) : TPage | ||
getRequestedPagePath ( ) : string | ||
getTemplateManager ( ) : |
||
getThemeManager ( ) : |
||
init ( $config ) | Initializes the service. | |
run ( ) | Runs the service. | |
setBasePageClass ( $value ) | Sets the base page class name (in namespace format). | |
setBasePath ( $value ) | ||
setClientScriptManagerClass ( $value ) | Sets the clientscript manager class (in namespace format). | |
setDefaultPage ( $value ) | ||
setTemplateManager ( |
||
setThemeManager ( |
Method | Description | |
---|---|---|
applyConfiguration ( $config ) | Applies a page configuration. | |
createPage ( $pagePath ) : TPage | Creates a page instance based on requested page path. | |
determineRequestedPagePath ( ) : string | Determines the requested page path. | |
initPageContext ( $pageConfig ) | Initializes page context. | |
loadPageConfig ( $config ) : |
Collects configuration for a page. | |
runPage ( $page, $properties ) | Executes a page. |
protected applyConfiguration ( $config ) |
public constructUrl ( $pagePath, $getParams = null, $encodeAmpersand = true, $encodeGetItems = true ) : string | ||
return | string | URL for the page and GET parameters |
protected createPage ( $pagePath ) : TPage | ||
return | TPage | the requested page instance |
protected determineRequestedPagePath ( ) : string | ||
return | string | page path requested |
public getBasePageClass ( ) : string | ||
return | string | base page class name in namespace format. Defaults to 'TPage'. |
public getBasePath ( ) : string | ||
return | string | the root directory for storing pages. Defaults to the 'pages' directory under the application base path. |
public getClientScriptManagerClass ( ) : string | ||
return | string | clientscript manager class in namespace format. Defaults to 'System.Web.UI.TClientScriptManager'. |
public getDefaultPage ( ) : string | ||
return | string | default page path to be served if no explicit page is request. Defaults to 'Home'. |
public getDefaultPageUrl ( ) : string | ||
return | string | the URL for the default page |
public getRequestedPage ( ) : TPage | ||
return | TPage | the requested page |
public getRequestedPagePath ( ) : string | ||
return | string | the requested page path |
public getTemplateManager ( ) : |
||
return | template manager |
public getThemeManager ( ) : |
||
return | theme manager |
public init ( $config ) |
protected initPageContext ( $pageConfig ) |
protected loadPageConfig ( $config ) : |
||
return |
public run ( ) |
public setBasePageClass ( $value ) |
public setClientScriptManagerClass ( $value ) |
public setTemplateManager ( |
||
$value |
public setThemeManager ( |
||
$value |