| pclib
    3.2.0
    Lightweight PHP framework | 
Ancestor of all pclib classes. More...
 
  
| Public Member Functions | |
| loadDefaults ($className=null) | |
| Load default parameters of class $className into object instance. | |
| setProperties (array $defaults) | |
| Set public properties of object from the array.  More... | |
| toArray () | |
| Convert object to array.  More... | |
| Static Public Member Functions | |
| static | defaults () | 
| Set or retireve default parameters of the object.  More... | |
| Data Fields | |
| $serviceLocator | |
| var function() Return service object when requested with service(). | |
| Protected Member Functions | |
| service ($service, $default=null) | |
| Try acquire $service and load it into property $this->$service.  More... | |
Ancestor of all pclib classes.
Features:
| 
 | static | 
Set or retireve default parameters of the object.
You can set any public attribute of the object. Example: Form::defaults('useButtonTag', true); or Form::defaults($options);
| mixed | Configuration parameter(s). | 
| 
 | protected | 
Try acquire $service and load it into property $this->$service.
| string | $service | Service name | 
| mixed | $default | Default value when service is not found | 
| setProperties | ( | array | $defaults | ) | 
Set public properties of object from the array.
| array | $defaults | Array of parameters to be set. |