TaniPHP
[ class tree: TaniPHP ] [ index: TaniPHP ] [ all elements ]

Class: ActiveController

Source Location: /activecontroller.php

Class Overview


ActiveController abstract class


Author(s):

  • Dumitru Postoronca

Variables

Methods



Class Details

[line 18]
ActiveController abstract class

ActiveController abstract class




Tags:

author:  Dumitru Postoronca
abstract:  


[ Top ]


Class Variables

$helpers = array('html')

[line 55]

Helpers to use in view

Helpers to use in view



Type:   array


[ Top ]

$layout =  null

[line 80]

Sets the layout for this controller

Sets the layout for this controller Default: null - the layout value in the configuration file will be used If set to "" - no layout will be used If set to a string - that layout file will be used



Type:   string/null


[ Top ]

$models = array()

[line 48]

Models classes to load

Models classes to load



Type:   array


[ Top ]

$restrictions = array()

[line 69]

Specifies access restrictions for each action

Specifies access restrictions for each action



Type:   array


[ Top ]

$secure =  false

[line 62]

Makes sure the user should be logged in to access this controller

Makes sure the user should be logged in to access this controller



Type:   boolean


[ Top ]

$view =  null

[line 27]

A view instance

A view instance




Tags:

public:  

Type:   object


[ Top ]

$viewClass =  'php'

[line 41]

Template system to use.

Template system to use. Possible values (case insensitive) include: 'PHP'(default) - views will be rendered as PHP 'Smarty' - Smarty will be used to render templates Aditional support for other template systems can be provided easily.




Tags:

todo:  Implement Smarty renderer
private:  

Type:   string


[ Top ]



Class Methods


constructor ActiveController [line 88]

ActiveController ActiveController( )

Constructor.

Constructor. Will get the a View instance and will include model files.




Tags:



[ Top ]


Documentation generated on Fri, 16 Dec 2005 13:16:30 +0200 by phpDocumentor 1.3.0RC4