All Data Structures Functions Variables Pages
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Static Protected Attributes
BeginRequestBehavior Class Reference
Inheritance diagram for BeginRequestBehavior:
CommandBeginRequestBehavior

Public Member Functions

 attach ($owner)
 
 handleSentryLogs ()
 
 handleApplicationCache ($event)
 
 handleImports ($event)
 
 handleInstanceFolderCheck ($event)
 
 handleInstallCheck ($event)
 
 handleUserTimeZoneConfirmed ($event)
 
 handleBeginRequest ($event)
 
 handleInitApiRequest ($event)
 
 handleBeginApiRequest ($event)
 
 handleLibraryCompatibilityCheck ($event)
 
 handleClearCache ($event)
 
 handleStartPerformanceClock ($event)
 
 handleSetupDatabaseConnection ($event)
 
 handleLoadLanguage ($event)
 
 handleLoadTimeZone ($event)
 
 handleCheckAndUpdateCurrencyRates ($event)
 
 handleResolveCustomData ($event)
 
 handleLoadActivitiesObserver ($event)
 
 handleLoadConversationsObserver ($event)
 
 handleLoadEmailMessagesObserver ($event)
 
 handleLoadWorkflowsObserver ($event)
 
 handleLoadReadPermissionSubscriptionObserver ($event)
 
 handleLoadContactLatestActivityDateTimeObserver ($event)
 
 handleLoadAccountLatestActivityDateTimeObserver ($event)
 
 handleLoadAccountContactAffiliationObserver ($event)
 
 handleLoadGamification ($event)
 
 handleDisableGamification ($event)
 
 handlePublishLogoAssets ($event)
 

Protected Member Functions

 resolveIsApiRequest ()
 
 attachApiRequestBehaviors (CComponent $owner)
 
 resolveBeginApiRequest (CComponent $owner)
 
 attachApiRequestBehaviorsForInstalledApplication (CComponent $owner)
 
 attachNonApiRequestBehaviors (CComponent $owner)
 
 attachNonApiRequestBehaviorsForNonInstalledApplication (CComponent $owner)
 
 attachNonApiRequestBehaviorsForInstalledApplication (CComponent $owner)
 

Static Protected Member Functions

static getAllowedGuestUserRoutes ()
 

Static Protected Attributes

static $allowedGuestUserRoutes
 

Detailed Description

Definition at line 37 of file BeginRequestBehavior.php.

Member Function Documentation

attachNonApiRequestBehaviorsForInstalledApplication ( CComponent  $owner)
protected
See Also
CommandBeginRequestBehavior, make sure if you change this array, you add anything needed for the command behavior as well.
Parameters
CComponent$owner

Definition at line 131 of file BeginRequestBehavior.php.

handleApplicationCache (   $event)

Load memcache extension if memcache extension is loaded and if memcache server is avalable

Parameters
$event

Definition at line 175 of file BeginRequestBehavior.php.

handleImports (   $event)

Import all files that need to be included(for lazy loading)

Parameters
$event

Definition at line 219 of file BeginRequestBehavior.php.

handleInstanceFolderCheck (   $event)

This check is required during installation since if runtime, assets and data folders are missing yii web application can not be started correctly.

Parameters
$event

Definition at line 255 of file BeginRequestBehavior.php.

handleUserTimeZoneConfirmed (   $event)

Called if installed, and logged in.

Parameters
CEvent$event

Definition at line 298 of file BeginRequestBehavior.php.

handleClearCache (   $event)

In the case where you have reloaded the database, some cached items might still exist. This is a way to clear that cache. Helpful during development and testing.

Definition at line 449 of file BeginRequestBehavior.php.

static getAllowedGuestUserRoutes ( )
staticprotected

Get Allowed Guest User Routes

Returns
array

Definition at line 600 of file BeginRequestBehavior.php.

Field Documentation

$allowedGuestUserRoutes
staticprotected
Initial value:
= array(
'zurmo/default/unsupportedBrowser',
'zurmo/default/login',
'tracking/default/track',
'marketingLists/external/',
'contacts/external/',
'zurmo/imageModel/getImage/',
'zurmo/imageModel/getThumb/',
'min/serve',
'sendGrid/external/writeLog')

Definition at line 39 of file BeginRequestBehavior.php.


The documentation for this class was generated from the following file:
Generated on Fri Jun 5 2020 07:10:40