public function rules() { return array_merge(parent::rules(), array(array('dynamicStructure', 'safe'), array('dynamicStructure', 'validateDynamicStructure', 'on' => 'validateDynamic, validateSaveSearch'), array('dynamicClauses', 'safe'), array('dynamicClauses', 'validateDynamicClauses', 'on' => 'validateDynamic, validateSaveSearch'))); }
public function rules() { return array_merge(parent::rules(), array(array('anyEmail', 'safe'), array('fullName', 'safe'))); }
/** * @return array */ public function rules() { return array_merge(parent::rules(), array(array('workflowName', 'safe'))); }