IApplicationComponent
| Package | system.base |
|---|---|
| Inheritance | interface IApplicationComponent |
| Subclasses | CApcCache, CApplicationComponent, CAssetManager, CAuthManager, CCache, CCacheHttpSession, CClientScript, CDbAuthManager, CDbCache, CDbConnection, CDbHttpSession, CDbMessageSource, CErrorHandler, CGettextMessageSource, CHttpRequest, CHttpSession, CLogRouter, CMemCache, CMessageSource, CPhpAuthManager, CPhpMessageSource, CPradoViewRenderer, CSecurityManager, CStatePersister, CThemeManager, CUrlManager, CViewRenderer, CWebUser, CXCache |
| Since | 1.0 |
| Version | $Id: interfaces.php 548 2009-01-20 04:27:09Z 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.