|
Perforce Chronicle 2012.2/486814
API Documentation
|
Implements collection of system information for display. More...
Public Member Functions | |
| __construct ($values=null) | |
| Set the default view, then call parent as PHP does not let you reference constants while declaring class member variables. | |
| render ($view) | |
| Allows specific view scripts for different types of information by setting the view script path and name off of the provided (or default) view script for the object. | |
Static Protected Attributes | |
| static | $_fields |
Implements collection of system information for display.
| System_Model_Info::__construct | ( | $ | values = null | ) |
Set the default view, then call parent as PHP does not let you reference constants while declaring class member variables.
| array | $values | Values to set for this model. |
Reimplemented from P4Cms_Model.
{
static::$_fields['view'] = array(
'default' => APPLICATION_PATH . '/system/views/scripts/default-info.phtml'
);
parent::__construct($values);
}
| System_Model_Info::render | ( | $ | view | ) |
Allows specific view scripts for different types of information by setting the view script path and name off of the provided (or default) view script for the object.
| string | $view | The view to render for this model. |
System_Model_Info::$_fields [static, protected] |
array(
'title',
'content',
'order'
)
Reimplemented from P4Cms_Model.