Cheetah
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ChWsbInstallCmd Class Reference

Public Member Functions

 __construct ()
 
 main ()
 
 checkRequirements ()
 
 checkPermissions ()
 
 createSiteConfig ()
 
 compileLanguage ()
 

Protected Member Functions

 getOptions ()
 
 getHelp ()
 
 finish ($iCode, $sMsg)
 
 init ()
 
 _setSiteConfigVars ()
 

Protected Attributes

 $_sHeaderPath
 
 $_aSiteConfig
 
 $_isQuiet = false
 
 $_aReturnCodes
 

Detailed Description

Install command line interface

Definition at line 18 of file cmd.php.

Constructor & Destructor Documentation

◆ __construct()

ChWsbInstallCmd::__construct ( )

Definition at line 32 of file cmd.php.

Member Function Documentation

◆ _setSiteConfigVars()

ChWsbInstallCmd::_setSiteConfigVars ( )
protected

Definition at line 162 of file cmd.php.

◆ checkPermissions()

ChWsbInstallCmd::checkPermissions ( )

Definition at line 132 of file cmd.php.

◆ checkRequirements()

ChWsbInstallCmd::checkRequirements ( )

Definition at line 126 of file cmd.php.

◆ compileLanguage()

ChWsbInstallCmd::compileLanguage ( )

Definition at line 150 of file cmd.php.

◆ createSiteConfig()

ChWsbInstallCmd::createSiteConfig ( )

Definition at line 141 of file cmd.php.

◆ finish()

ChWsbInstallCmd::finish (   $iCode,
  $sMsg 
)
protected

Definition at line 111 of file cmd.php.

◆ getHelp()

ChWsbInstallCmd::getHelp ( )
protected

Definition at line 92 of file cmd.php.

◆ getOptions()

ChWsbInstallCmd::getOptions ( )
protected

Definition at line 83 of file cmd.php.

◆ init()

ChWsbInstallCmd::init ( )
protected

Definition at line 119 of file cmd.php.

◆ main()

ChWsbInstallCmd::main ( )

Definition at line 55 of file cmd.php.

Member Data Documentation

◆ $_aReturnCodes

ChWsbInstallCmd::$_aReturnCodes
protected
Initial value:
= array(
'success' => array ('code' => 0, 'msg' => 'Success.'),
'already installed' => array ('code' => 0, 'msg' => 'Script is already installed. Can\'t perform install.'),
'requirements failed' => array ('code' => 2, 'msg' => 'Requirements aren\'t met.'),
'permissions failed' => array ('code' => 3, 'msg' => 'Folders and/or files permissions aren\'t correct.'),
'create config failed' => array ('code' => 4, 'msg' => 'Form data was not submitted.'),
'lang compile failed' => array ('code' => 5, 'msg' => 'Language compilation failed.'),
)

Definition at line 23 of file cmd.php.

◆ $_aSiteConfig

ChWsbInstallCmd::$_aSiteConfig
protected

Definition at line 21 of file cmd.php.

◆ $_isQuiet

ChWsbInstallCmd::$_isQuiet = false
protected

Definition at line 22 of file cmd.php.

◆ $_sHeaderPath

ChWsbInstallCmd::$_sHeaderPath
protected

Definition at line 20 of file cmd.php.


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