All Data Structures Functions Variables Pages
Public Member Functions | Data Fields | Protected Member Functions | Protected Attributes
ConsoleApplication Class Reference
Inheritance diagram for ConsoleApplication:

Public Member Functions

 isApplicationInstalled ()
 
 isApplicationInMaintenanceMode ()
 
 isApplicationInSandboxMode ()
 
 getEdition ()
 
 getLocale ($localeID=null)
 
 getSession ()
 
 findModule ($moduleID)
 
 getThemeManager ()
 
 getTheme ()
 
 setTheme ($value)
 
 createAbsoluteUrl ($route, $params=array(), $schema= '', $ampersand= '&')
 
 setAllClassesAreImported ()
 
 areAllClassesImported ()
 

Data Fields

 $label
 

Protected Member Functions

 registerCoreComponents ()
 

Protected Attributes

 $installed
 
 $edition
 
 $maintenanceMode
 
 $sandboxMode = false
 
 $allClassesImported = false
 

Detailed Description

Override to handle zurmo specific requirements for the console application. Certain methods are expected to be available in the application that are added here. Additional the session component is defined as some code running the console application will require access to the session component even though it is not utilized in the console application.

Definition at line 43 of file ConsoleApplication.php.

Member Function Documentation

getLocale (   $localeID = null)

Returns the locale instance. This overrides the default CApplication->getLocale() function.

Parameters
string$localeIDthe locale ID (e.g. en_US). If null, the application language ID will be used.
Returns
CLocale the locale instance

Definition at line 114 of file ConsoleApplication.php.

getSession ( )

Adding expected WebApplication method.

Definition at line 146 of file ConsoleApplication.php.

findModule (   $moduleID)

Adding expected WebApplication method.

Definition at line 154 of file ConsoleApplication.php.

getThemeManager ( )
Returns
CThemeManager the theme manager.

Definition at line 162 of file ConsoleApplication.php.

getTheme ( )
Returns
CTheme the theme used currently. Null if no theme is being used.

Definition at line 170 of file ConsoleApplication.php.

setTheme (   $value)
Parameters
string$valuethe theme name

Definition at line 182 of file ConsoleApplication.php.


The documentation for this class was generated from the following file:
Generated on Fri Feb 28 2020 07:10:47