IApplicationComponent
Package | system.base |
Inheritance | interface IApplicationComponent |
Subclasses |
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
|
Since | 1.0 |
Source Code | 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.
Public Methods
Method |
Description |
Defined By |
getIsInitialized() | Checks whether the init() method has been invoked. | IApplicationComponent |
init() | Initializes the application component. | IApplicationComponent |
Method Details
abstract public boolean getIsInitialized() |
{return} | boolean | whether the init() method has been invoked. |
abstract public void init() |
Initializes the application component. This method is invoked after the application completes configuration.