/**
  * Initializes the column.
  */
 public function init()
 {
     parent::init();
     if ($this->name === null) {
         throw new CException(Yii::t('zii', '"name" must be specified for BooleanButtonColumn.'));
     }
     if ($this->label === null) {
         $this->label = $this->name;
     }
     if ($this->baseScriptUrl === null) {
         $this->baseScriptUrl = Yii::app()->getAssetManager()->publish(Yii::getPathOfAlias('ext.assets.booleanButtonColumn'));
     }
     if ($this->trueImageUrl === null) {
         $this->trueImageUrl = $this->baseScriptUrl . '/enabled.png';
     }
     if ($this->falseImageUrl === null) {
         $this->falseImageUrl = $this->baseScriptUrl . '/disabled.png';
     }
 }
 public function init()
 {
     parent::init();
     $this->url = Yii::app()->createUrl("/home");
 }