system system.base system.caching system.caching.dependencies system.collections system.console system.db system.db.ar system.db.schema system.db.schema.cubrid system.db.schema.mssql system.db.schema.mysql system.db.schema.oci system.db.schema.pgsql system.db.schema.sqlite system.gii system.i18n system.i18n.gettext system.logging system.test system.utils system.validators system.web system.web.actions system.web.auth system.web.filters system.web.form system.web.helpers system.web.renderers system.web.services system.web.widgets system.web.widgets.captcha system.web.widgets.pagers zii.behaviors zii.widgets zii.widgets.grid zii.widgets.jui

IApplicationComponent

system.base
继承 interface IApplicationComponent
子类 CApcCache, CApplicationComponent, CAssetManager, CAuthManager, CCache, CCacheHttpSession, CClientScript, CDbAuthManager, CDbCache, CDbConnection, CDbFixtureManager, CDbHttpSession, CDbMessageSource, CDbStatePersister, CDummyCache, CEAcceleratorCache, CErrorHandler, CFileCache, CFormatter, CGettextMessageSource, CHttpRequest, CHttpSession, CLocalizedFormatter, CLogRouter, CMemCache, CMessageSource, CPhpAuthManager, CPhpMessageSource, CPradoViewRenderer, CRedisCache, CSecurityManager, CStatePersister, CThemeManager, CUrlManager, CViewRenderer, CWebUser, CWidgetFactory, CWinCache, CXCache, CZendDataCache
可用自 1.0
源码 framework/base/interfaces.php
IApplicationComponent is the interface that all application components must implement.

After the application completes configuration, it will invoke the init() method of every loaded application component.

公共方法

隐藏继承的方法

方法描述被定义在
getIsInitialized() Checks whether the init() method has been invoked. IApplicationComponent
init() Initializes the application component. IApplicationComponent

方法详情

getIsInitialized() 方法
abstract public boolean getIsInitialized()
{return} boolean whether the init() method has been invoked.
源码: framework/base/interfaces.php#31 (显示)
public function getIsInitialized();

init() 方法
abstract public void init()
源码: framework/base/interfaces.php#27 (显示)
public function init();

Initializes the application component. This method is invoked after the application completes configuration.