Arbit - project tracking

Arbit - project tracking

API documentation :: Docs For Class arbitViewHandler

Core::View::arbitViewHandler

Class arbitViewHandler

View handler, which receives a request object containing the properties of the initial request and the mixed stuff generated by the crontroller to be displayed. correct views, execute and echo them.

View handler, which receives a request object containing the properties of the initial request and the mixed stuff generated by the crontroller to be displayed. Based on this information the view handler should select the correct views, execute and echo them.

Author(s):
Version:   $Revision: 1236 $
License:   GPL

Descendants

Child Class Description
arbitViewXmlHandler Xml view handler generating Xml from the provided view model.
arbitViewHttpBinaryHandler Handler to display binary data over HTTP.
arbitViewRssHandler View handler providing a view result as a RSS feed
arbitTemplateViewHandler Text view handler generating emails from the provided view model.
arbitViewJsonHandler JSON view handler generating JSON from the provided view model.

Member Variables

protected arbitRequest $request
Request object, containing the request properties.

Request object, containing the request properties.

Method Summary

public abstract void display( $model )
Display controller result Select the view, which should be used to display the controller results, process and echo the view results.
public abstract void setLocale( $locale )
Set view locale Set the view locale to the given locale string.

Methods

display

void display( arbitDecorateable $model )

Display controller result Select the view, which should be used to display the controller results, process and echo the view results.

Display controller result Select the view, which should be used to display the controller results, process and echo the view results.

Parameters:
Name Type Description
$model arbitDecorateable
Redefined in descendants as:
Method Description
arbitViewXmlHandler::display() Display controller result Select the view, which should be used to display the controller results, process and return the view results. 
arbitViewHttpBinaryHandler::display() Display controller result Select the view, which should be used to display the controller results, process and echo the view results. 
arbitViewRssHandler::display() Display controller result Select the view, which should be used to display the controller results, process and return the view results. 
arbitTemplateViewHandler::display() Display controller result Select the view, which should be used to display the controller results, process and return the view results. 
arbitViewJsonHandler::display() Display controller result Select the view, which should be used to display the controller results, process and return the view results. 

setLocale

void setLocale( string $locale )

Set view locale Set the view locale to the given locale string.

Set view locale Set the view locale to the given locale string.

Parameters:
Name Type Description
$locale string
Redefined in descendants as:
Method Description
arbitViewXmlHandler::setLocale() Set view locale Set the view locale to the given locale string. 
arbitViewHttpBinaryHandler::setLocale() Set view locale Set the view locale to the given locale string. 
arbitViewRssHandler::setLocale() Set view locale Set the view locale to the given locale string. 
arbitTemplateViewHandler::setLocale() Set view locale Set the view locale to the given locale string. 
arbitViewJsonHandler::setLocale() Set view locale Set the view locale to the given locale string. 
Documentation generated on Mon, 05 Apr 2010 14:01:57 +0200 by phpDocumentor 1.4.3