|
Perforce Chronicle 2012.2/486814
API Documentation
|
Integrate the Setup module with the rest of the system. More...
Static Public Member Functions | |
| static | getSetupInformation ($systemInformation) |
| Adds a new system information module to the systemInformation list. | |
| static | init () |
| Perform early integration work (before load). | |
Integrate the Setup module with the rest of the system.
| static Setup_Module::getSetupInformation | ( | $ | systemInformation | ) | [static] |
Adds a new system information module to the systemInformation list.
Shares information regarding the setup pre-requisites.
| array | $systemInformation | The list of system information models to add to. |
{
$sysinfo = new System_Model_Info();
$sysinfo->setId('requirements');
$sysinfo->title = 'Requirements Check';
$sysinfo->order = 20;
$sysinfo->view = APPLICATION_PATH . '/setup/views/scripts/system-info.phtml';
$systemInformation[] = $sysinfo;
}
| static Setup_Module::init | ( | ) | [static] |
Perform early integration work (before load).
Reimplemented from P4Cms_Module_Integration.
{
P4Cms_PubSub::subscribe('p4cms.system.info', 'Setup_Module', 'getSetupInformation');
}