My Console Application Class Reference

IApplicationComponent

Package system.base
Inheritance interface IApplicationComponent
Subclasses CApplicationComponent, CClientScript
Since 1.0
Version $Id: interfaces.php 1678 2010-01-07 21:02:00Z qiang.xue $
Source Code framework/base/interfaces.php
Author Qiang Xue <qiang.xue@gmail.com>
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

Hide inherited methods

MethodDescriptionDefined By
getIsInitialized() Checks whether the init() method has been invoked. IApplicationComponent
init() Initializes the application component. IApplicationComponent

Method Details

getIsInitialized() method
abstract public boolean getIsInitialized()
{return} boolean whether the init() method has been invoked.
Source Code: framework/base/interfaces.php#32 (show)
public function getIsInitialized();

init() method
abstract public void init()
Source Code: framework/base/interfaces.php#28 (show)
public function init();

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

Copyright © 2008-2011 by Yii Software LLC
All Rights Reserved.