/**
  * @param string $text
  * @return AdminExportColumn|CDataColumn
  * @throws CException
  */
 protected function createDataColumn($text)
 {
     if ($this->export) {
         if (!preg_match('/^([\\w\\.]+)(:(\\w*))?(:(.*))?$/', $text, $matches)) {
             throw new CException(Yii::t('zii', 'The column must be specified in the format of "Name:Type:Label", where "Type" and "Label" are optional.'));
         }
         $column = new AdminExportColumn($this);
         $column->name = $matches[1];
         if (isset($matches[3]) && $matches[3] !== '') {
             $column->type = $matches[3];
         }
         if (isset($matches[5])) {
             $column->header = $matches[5];
         }
         return $column;
     } else {
         return parent::createDataColumn($text);
     }
 }