Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Data Fields | Protected Member Functions | Protected Attributes
WebApplication Class Reference
Inheritance diagram for WebApplication:

Public Member Functions

 run ()
 
 getLocale ($localeID=null)
 
 createController ($route, $owner=null)
 
 findModule ($moduleID)
 
 isApplicationInstalled ()
 
 setApplicationInstalled ($installed)
 
 isApplicationInMaintenanceMode ()
 
 isApplicationInSandboxMode ()
 
 getEdition ()
 
 createUrl ($route, $params=array(), $ampersand= '&')
 
 setResolveAlwaysAsAbsoluteUrl ()
 
 setAllClassesAreImported ()
 
 areAllClassesImported ()
 

Static Public Member Functions

static findModuleInApplication ($moduleID)
 

Data Fields

 $label
 

Protected Member Functions

 resolveWhatToPassAsParameterForOwner ($owner)
 
 isOwnerTheController ($owner)
 

Protected Attributes

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

Detailed Description

Definition at line 37 of file WebApplication.php.

Member Function Documentation

run ( )

Override to handle when debug is turned on and the checksum fails on cached models.

Definition at line 84 of file WebApplication.php.

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 108 of file WebApplication.php.

createController (   $route,
  $owner = null 
)

Override so that the application looks at the controller class name differently. Instead of having controllers with the same class name across the application, each class name must be different. Each controller class name is expected to include the module class name as the prefix to the controller class name. Creates a controller instance based on a route.

Definition at line 131 of file WebApplication.php.

findModule (   $moduleID)

Override to provide proper search of nested modules.

Definition at line 251 of file WebApplication.php.

static findModuleInApplication (   $moduleID)
static

Extra method so the findModule can be called statically from outside this class.

Parameters
string$moduleID

Definition at line 260 of file WebApplication.php.

createUrl (   $route,
  $params = array(),
  $ampersand = '&' 
)

Override createUrl, so it returns absolute Url, for external request

Parameters
$route
array$params
string$ampersand
Returns
string

Definition at line 322 of file WebApplication.php.

setResolveAlwaysAsAbsoluteUrl ( )

Set flag to send absolute URLs always, used in External Controllers

Definition at line 345 of file WebApplication.php.


The documentation for this class was generated from the following file:
Generated on Sun Jul 5 2020 07:11:09
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.