.

IView Interface Reference
[Interfaces]

Basic view interface. More...

Inheritance diagram for IView:
IRenderer ViewBase ContentViewBase MessageViewBase PageViewBase MimeView XmlViewBase AjaxView ConsolePageView

List of all members.

Public Member Functions

  assign ($var, $value)
  Pass a variable to the view.
  assign_array ($vars)
  Pass an associative array to the view.
  copy_to ($view)
  Copy all variables to other view.
  retrieve ($var)
  Retrieve a variable from the view.
  retrieve_array ()
  Retrieve all variables.

Public Attributes

const  CONTENT_ONLY = 4
const  DISPLAY = 1
  If set as policy rendered content is printed also.
const  NO_CACHE = 2

Detailed Description

Basic view interface.

Author:
Gerd Riesselmann

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


Member Function Documentation

IView::assign ( var,
value  
)

Pass a variable to the view.

Parameters:
string  $var The name of the variable
mixed  $value The value

Implemented in ViewBase.

IView::assign_array ( vars  ) 

Pass an associative array to the view.

Parameters:
array  $vars

Implemented in ViewBase.

IView::copy_to ( view  ) 

Copy all variables to other view.

Parameters:
IView  $view

Implemented in ViewBase.

IView::retrieve ( var  ) 

Retrieve a variable from the view.

Parameters:
string  $var The name of the variable
Returns:
mixed The Value

Implemented in ViewBase.

IView::retrieve_array (  ) 

Retrieve all variables.

Returns:
array Associative array

Implemented in ViewBase.


Member Data Documentation

Definition at line 16 of file iview.cls.php.

const IView::DISPLAY = 1

If set as policy rendered content is printed also.

Definition at line 14 of file iview.cls.php.

const IView::NO_CACHE = 2

Definition at line 15 of file iview.cls.php.


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