Perforce Chronicle 2012.2/486814
API Documentation

Setup_Module Class Reference

Integrate the Setup module with the rest of the system. More...

Inheritance diagram for Setup_Module:
P4Cms_Module_Integration

List of all members.

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

Detailed Description

Integrate the Setup module with the rest of the system.

Copyright:
2011-2012 Perforce Software. All rights reserved
License:
Please see LICENSE.txt in top-level folder of this distribution.
Version:
2012.2/486814

Member Function Documentation

static Setup_Module::getSetupInformation ( systemInformation) [static]

Adds a new system information module to the systemInformation list.

Shares information regarding the setup pre-requisites.

Parameters:
array$systemInformationThe 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');
    }

The documentation for this class was generated from the following file: