Arbit - project tracking

Arbit - project tracking

API documentation :: Docs For Class arbitViewXHtmlHandler

Core::View::arbitViewXHtmlHandler

Class arbitViewXHtmlHandler

XHtml view handler generating XHtml from the provided view model.

XHtml view handler generating XHtml from the provided view model.

arbitViewHandler
   |
   --arbitTemplateViewHandler
      |
      --arbitViewXHtmlHandler
Author(s):
Version:   $Revision: 1236 $
License:   GPL

Member Variables

protected static array $cssFiles
List with additional CSS files to include in the output. by modules and is filled with the configuration values by default.

List with additional CSS files to include in the output. May be extended by modules and is filled with the configuration values by default.

protected array $extensions = array(
'arbitViewTemplateFunctions',
'arbitViewXHtmlTemplateFunctions',
)

Template extensions used by the view handler.

Template extensions used by the view handler.

protected array $templates = array(
'showError' => 'html/exception.tpl',
'showNotFoundError' => 'html/not_found.tpl',
'showDashboard' => 'html/dashboard.tpl',
'showDashboardProject' => 'html/dashboard/project.tpl',
'showProject' => 'html/project.tpl',
'showModule' => 'html/project/module.tpl',
'showMessage' => 'html/project/message.tpl',
'showCoreUserRegistrationModel' => 'html/core/user/registration.tpl',
'showCoreUserRegisteredModel' => 'html/core/user/registered.tpl',
'showCoreUserLoginModel' => 'html/core/user/login.tpl',
'showCoreAboutModel' => 'html/core/about.tpl',
'showCoreProjectModel' => 'html/core/project.tpl',
'showCorePermissionsModel' => 'html/core/permissions.tpl',
'showCoreUserModel' => 'html/core/user.tpl',
'showCoreUserAcceptModel' => 'html/core/user_accept.tpl',
'showCoreUserAccountModel' => 'html/core/user_account.tpl',
)

Method template association for default calls.

Method template association for default calls. In most cases we just assign some template to a view more, for which a method on this class is called. The normal plain procedure may just be mapped using this array and is handled inside the __call method of this class.

Inherited Member Variables

From arbitTemplateViewHandler
protected arbitTemplateViewHandler::$config
protected arbitTemplateViewHandler::$returnValues
From arbitViewHandler
protected arbitViewHandler::$request

Method Summary

public static void addCssFile( $name )
Add CSS files Add additional CSS files included in HTML output.
public arbitDecorateable addContextInformation( $model )
Enriches view model with common context information

Inherited Methods

From arbitTemplateViewHandler
public arbitDecorateable arbitTemplateViewHandler::addContextInformation()
Enriches view model with common context information
public string arbitTemplateViewHandler::display()
Display controller result Select the view, which should be used to display the controller results, process and return the view results.
public mixed arbitTemplateViewHandler::getReturnValue()
Get Template return value from last processed template.
public void arbitTemplateViewHandler::setLocale()
Set view locale Set the view locale to the given locale string.
public string arbitTemplateViewHandler::showDefaultModel()
Show default model Display an arbitrary model with some default view.
public string arbitTemplateViewHandler::__call()
Default template handler The default template handlers checks if a template has been registered for the received call and sends the module to the registered template without any modification or enhancement. the calls may be found in the protected class property $templates.
From arbitViewHandler
public abstract void arbitViewHandler::display()
Display controller result Select the view, which should be used to display the controller results, process and echo the view results.
public abstract void arbitViewHandler::setLocale()
Set view locale Set the view locale to the given locale string.

Methods

addCssFile

static void addCssFile( string $name )

Add CSS files Add additional CSS files included in HTML output.

Add CSS files Add additional CSS files included in HTML output.

Parameters:
Name Type Description
$name string

addContextInformation

arbitDecorateable addContextInformation( arbitDecorateable $model )

Enriches view model with common context information

Enriches view model with common context information

Parameters:
Name Type Description
$model arbitDecorateable
Redefinition of:
Method Description
arbitTemplateViewHandler::addContextInformation() Enriches view model with common context information
Documentation generated on Mon, 05 Apr 2010 14:02:23 +0200 by phpDocumentor 1.4.3