http://www.yiiframework.com/extension/w ... ext-editor
Проверяю массив $_POST в нем есть переменная содержащая текст из редактора. Проверяю переменную в модели после присвоения она пустая. Почему присвоения не происходит.
Валидация
Код: Выделить всё
return array(
array('question', 'required'),
array('isActiv', 'numerical', 'integerOnly'=>true),
array('question', 'length', 'max'=>512),
// The following rule is used by search().
// Please remove those attributes that should not be searched.
array('id, question, answer, isActiv', 'safe', 'on'=>'search'),
);