.

IViewFactory Interface Reference
[Interfaces]

View Factory extension interface. More...

Inheritance diagram for IViewFactory:
ViewFactoryBase ViewFactoryAjax ViewFactoryConsole ViewFactoryMime

List of all members.

Public Member Functions

  create_view ($type, $template_name, $params)
  Create a suitable view.
  set_old_implementation (IViewFactory $implementation)
  Set old implementation.

Public Attributes

const  CONTENT = 'content'
const  MESSAGE = 'message'
const  PAGE = 'page'
const  XML = 'xml'

Detailed Description

View Factory extension interface.

Author:
Gerd Riesselmann

Definition at line 8 of file iviewfactory.cls.php.


Member Function Documentation

IViewFactory::create_view ( type,
template_name,
params  
)

Create a suitable view.

Parameters:
string  $type The type of view to create e.g. "page", or "content", or "XML" ...
string  $template_name Name of the template
mixed  $params Params to pass to view, may depend on type
Returns:
IView

Implemented in ViewFactoryBase, ViewFactoryAjax, ViewFactoryConsole, and ViewFactoryMime.

IViewFactory::set_old_implementation ( IViewFactory implementation  ) 

Set old implementation.

Requests not handled should be delegated to this

Parameters:
IViewFactory  $implementation

Implemented in ViewFactoryBase.


Member Data Documentation

const IViewFactory::CONTENT = 'content'

Definition at line 10 of file iviewfactory.cls.php.

const IViewFactory::MESSAGE = 'message'

Definition at line 11 of file iviewfactory.cls.php.

const IViewFactory::PAGE = 'page'

Definition at line 9 of file iviewfactory.cls.php.

const IViewFactory::XML = 'xml'

Definition at line 12 of file iviewfactory.cls.php.


The documentation for this interface was generated from the following file: