Public Member Functions | Protected Member Functions | Protected Attributes

object Class Reference

Inheritance diagram for object:
cache_abstract db_abstract db_row db_rowset db_table db_where db_whereClause form form_abstract form_fileUploaded helper_akismet helper_bitLy helper_dataTable helper_date helper_email helper_file helper_filterTable http_cookie module_abstract response_abstract response_proxy security_abstract session_abstract tpl valid

Public Member Functions

 __construct (config $cfg)
 getAttr ($name)
 setAttr ($name, $value)
 getCfg ()

Protected Member Functions

 beforeInit ()
 afterInit ()

Protected Attributes

 $cfg

Detailed Description

Every class extends of this class

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


Constructor & Destructor Documentation

__construct ( config cfg  )  [final]

Will call beforeInit, initilize the configuration with initCfg and call afterInit. You can overload these 3 functions on your subclasses.

Parameters:
config $cfg The initial configuration

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


Member Function Documentation

beforeInit (  )  [protected]

Call just before the configuration initialisation

Reimplemented in form_file.

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

getAttr ( name  ) 

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 (  ) 

Get the configuration object

Returns:
config

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

setAttr ( name,
value 
)

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.


Field Documentation

$cfg [protected]

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


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables Enumerations
Generated on Thu Jan 26 2012 18:40:08 for nyroFwk by doxygen 1.7.1