Public Member Functions | Protected Member Functions | Protected Attributes

module_out_controller Class Reference

Inheritance diagram for module_out_controller:
module_abstract object

Public Member Functions

 exec (array $prm=array())
 callbackTpl (array $prm)
 getReponse ()
 publish (array $prm=array())
 getName ()
 getAttr ($name)
 setAttr ($name, $value)
 getCfg ()

Protected Member Functions

 afterInit ()
 indexAction ($prm=null)
 publish ()
 beforeExec ($realExec)
 middleExec ($realExec)
 afterExec ($realExec)
 getViewAction ()
 setViewAction ($action)
 getViewVar ($name)
 setViewVar ($name, $value)
 setViewVars (array $values)
 preFetch ()
 isCacheEnabled ()
 addCacheTag ($val)
 beforeInit ()

Protected Attributes

 $module
 $prmExec
 $tpl
 $cfg

Detailed Description

Out Controller to handle layouts

Definition at line 10 of file nyro/module/out/controller.class.php.


Member Function Documentation

addCacheTag ( val  )  [protected, inherited]

Add a cache tag

Parameters:
mixed $val The tag to add

Definition at line 228 of file module/abstract.class.php.

afterExec ( realExec  )  [protected, inherited]

Definition at line 135 of file module/abstract.class.php.

afterInit (  )  [protected]

Call just after the configuration initialisation

Reimplemented from module_abstract.

Definition at line 14 of file nyro/module/out/controller.class.php.

beforeExec ( realExec  )  [protected, inherited]

Definition at line 125 of file module/abstract.class.php.

beforeInit (  )  [protected, inherited]

Call just before the configuration initialisation

Reimplemented in form_file.

Definition at line 35 of file object.class.php.

callbackTpl ( array $  prm  )  [inherited]

Definition at line 112 of file module/abstract.class.php.

exec ( array $  prm = array()  )  [final, inherited]

Every called action must pass by this function

Parameters:
null|string $prm Actopn Parameters
Exceptions:
nException if wrong parameter or other errors

Definition at line 40 of file module/abstract.class.php.

getAttr ( name  )  [inherited]

Get an attribute

Parameters:
string $name Attribute name
Returns:
mixed|null The attribute or null if not set

Reimplemented in response_proxy.

Definition at line 48 of file object.class.php.

getCfg (  )  [inherited]

Get the configuration object

Returns:
config

Definition at line 67 of file object.class.php.

getName (  )  [inherited]

Get the module name

Returns:
string

Definition at line 240 of file module/abstract.class.php.

getReponse (  )  [inherited]

Definition at line 118 of file module/abstract.class.php.

getViewAction (  )  [protected, inherited]

Get the current view action

Returns:
string

Definition at line 142 of file module/abstract.class.php.

getViewVar ( name  )  [protected, inherited]

Get a variable for the view

Parameters:
string $name Variable name
Returns:
mixed|null The value or null if not existing

Definition at line 165 of file module/abstract.class.php.

indexAction ( prm = null  )  [protected]

Definition at line 20 of file nyro/module/out/controller.class.php.

isCacheEnabled (  )  [protected, inherited]

Check against the configuration if the current request should be cached

Returns:
bool True if enabled

Definition at line 214 of file module/abstract.class.php.

middleExec ( realExec  )  [protected, inherited]

Definition at line 130 of file module/abstract.class.php.

preFetch (  )  [protected, inherited]

Function called just before fetching the TPL. This is useful to add cacheTag or change tpl properties

Definition at line 207 of file module/abstract.class.php.

publish ( array $  prm = array()  )  [inherited]

Publish the module to shown

Returns:
string The fetched view

Definition at line 193 of file module/abstract.class.php.

publish (  )  [protected]

Definition at line 22 of file nyro/module/out/controller.class.php.

setAttr ( name,
value 
) [inherited]

Set an attribute

Parameters:
string $name Attribute name
mixed $value Attribute value

Reimplemented in response_proxy.

Definition at line 58 of file object.class.php.

setViewAction ( action  )  [protected, inherited]

Set the action which will use for the view

Parameters:
string $action

Definition at line 151 of file module/abstract.class.php.

setViewVar ( name,
value 
) [protected, inherited]

Add a variable to the view

Parameters:
string $name Variable name
mixed $value

Definition at line 175 of file module/abstract.class.php.

setViewVars ( array $  values  )  [protected, inherited]

Add variables to the view with an array

Parameters:
array $values

Definition at line 184 of file module/abstract.class.php.


Field Documentation

$cfg [protected, inherited]

Definition at line 17 of file object.class.php.

$module [protected]

Definition at line 12 of file nyro/module/out/controller.class.php.

$prmExec [protected, inherited]

Definition at line 17 of file module/abstract.class.php.

$tpl [protected, inherited]

Definition at line 24 of file module/abstract.class.php.


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables Enumerations
Generated on Tue May 8 2012 16:02:25 for nyroFwk by doxygen 1.7.1