IApplicationComponent
Package | system.base |
---|---|
Inheritance | interface IApplicationComponent |
Subclasses | CApcCache, CApplicationComponent, CAssetManager, CAuthManager, CCache, CCacheHttpSession, CClientScript, CDbAuthManager, CDbCache, CDbConnection, CDbFixtureManager, CDbHttpSession, CDbMessageSource, CDummyCache, CEAcceleratorCache, CErrorHandler, CFileCache, CFormatter, CGettextMessageSource, CHttpRequest, CHttpSession, CLogRouter, CMemCache, CMessageSource, CPhpAuthManager, CPhpMessageSource, CPradoViewRenderer, CSecurityManager, CStatePersister, CThemeManager, CUrlManager, CViewRenderer, CWebUser, CWidgetFactory, CWinCache, CXCache, CZendDataCache |
Since | 1.0 |
Version | $Id: interfaces.php 1678 2010-01-07 21:02:00Z qiang.xue $ |
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.
After the application completes configuration, it will invoke the init() method of every loaded application component.
Public Methods
Method | Description | Defined By |
---|---|---|
getIsInitialized() | IApplicationComponent | |
init() | Initializes the application component. | IApplicationComponent |
Method Details
getIsInitialized()
method
abstract public boolean getIsInitialized()
| ||
{return} | boolean | whether the init() method has been invoked. |
init()
method
abstract public void init()
|
Initializes the application component. This method is invoked after the application completes configuration.