/**
* Widget's initialization method
* @throws CException
*/
public function init()
{
parent::init();
if (!in_array($this->column->type, $this->supportedTypes)) {
throw new CException(Yii::t('zii', 'Unsupported column type. Supported column types are: "{types}"', array('{types}' => implode(', ', $this->supportedTypes))));
}
}