Class CApplicationComponent
CApplicationComponent is the base class for application component classes.
CApplicationComponent implements the basic methods required by IApplicationComponent
.
When developing an application component, try to put application component
initialization code in the CApplicationComponent::init()
method instead of the constructor.
This has the advantage that the application component can be customized through
application configuration.
- CComponent
- CApplicationComponent implements IApplicationComponent
Direct known subclasses
CAssetManager, CAuthManager, CHttpSession, CLogRouter, CMessageSource, CSecurityManager, CStatePersister, CThemeManager, CUrlManager, CViewRenderer, CWebUser, CWidgetFactory, CCache, X2AuthCache, X2NonWebUser, CClientScript, CDbConnection, CDbFixtureManager, CDummyCache, CErrorHandler, CFormatter, CHttpRequestIndirect known subclasses
CApcCache, CCacheHttpSession, CMemCache, CPhpAuthManager, CPhpMessageSource, CPradoViewRenderer, CRedisCache, CWinCache, CXCache, CZendDataCache, X2AssetManager, X2AuthManager, CDbAuthManager, X2FileCache, X2FixtureManager, X2HttpRequest, X2MessageSource, X2UrlManager, X2WebUser, CDbCache, CDbHttpSession, CDbMessageSource, CEAcceleratorCache, CFileCache, CGettextMessageSource, CLocalizedFormatterPackage: system\base
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/base/CApplicationComponent.php
public
|
#
init( )
Initializes the application component. This method is required by |
public
boolean
|
public
array
|
$behaviors | array() |
#
the behaviors that should be attached to this component. The behaviors will
be attached to the component when |
public
boolean
|
$isInitialized |
#
Whether this application component has been initialized (ie, |