Yii2 Bootstrap 3
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
602 B

14 years ago
<?php
/**
* ApplicationComponent class file.
*
* @link http://www.yiiframework.com/
* @copyright Copyright &copy; 2008 Yii Software LLC
14 years ago
* @license http://www.yiiframework.com/license/
*/
namespace yii\base;
/**
* ApplicationComponent is the base class for application component classes.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class ApplicationComponent extends Component
14 years ago
{
/**
* @var string unique ID of this application component
14 years ago
*/
public $id;
14 years ago
public function init()
{
parent::init();
if ($this->id === null) {
$this->id = get_class($this);
}
14 years ago
}
}