BeginRequestBehavior Class Reference

Inheritance diagram for BeginRequestBehavior:

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)
 clearCacheDirectories ()
 clearCacheDirectory (array $cacheDirectory)
 resolveCacheDirectoryPaths ()

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.
CComponent $owner

Reimplemented in CommandBeginRequestBehavior.

Definition at line 130 of file BeginRequestBehavior.php.

handleApplicationCache ( event  ) 

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


Definition at line 174 of file BeginRequestBehavior.php.

handleImports ( event  ) 

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


Definition at line 201 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.


Definition at line 236 of file BeginRequestBehavior.php.

handleUserTimeZoneConfirmed ( event  ) 

Called if installed, and logged in.

CEvent $event

Definition at line 279 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 430 of file BeginRequestBehavior.php.

static getAllowedGuestUserRoutes (  )  [static, protected]

Get Allowed Guest User Routes


Definition at line 583 of file BeginRequestBehavior.php.

Field Documentation

$allowedGuestUserRoutes [static, protected]
Initial value:

Definition at line 39 of file BeginRequestBehavior.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Mar 18 07:10:20 2018