public function rules() { return array_merge(array(array("regionsCount", 'default', 'value' => 1, 'setOnEmpty' => true), array('investigationForMarket, investigationAuditoryLegalPersons, investigationAuditoryIndividuals, regionsCount, regions, investigateRegionRussia, investigateRegionBelarus, investigateRegionKazakhstan, isBrandInTop10', 'safe')), parent::rules()); }
public function rules() { return array_merge(array(array('minimalSelectionOfInvestigation', 'default', 'setOnEmpty' => true, 'value' => 385), array('minimalSelectionOfInvestigation, selectingTypePersonal, selectingTypePhone, selectingTypeOnline, selectingTypeHallTest, selectingTypeExpertInterview, selectingTypeDeepInterview, selectingTypeFocusGroup, selectingTypeOnlineInviteByEmail, selectingTypeOnlineInviteBySMS, selectingTypeOnlineLinkIsMyBusiness, selectingTypeBCGroup, methodsOfCollectionData, requiredMethodsOfCollectionData', 'safe')), parent::rules()); }
public function rules() { return array_merge(array(array('compareWithAnotherOrganizationsYesRussian, compareWithAnotherOrganizationsYesEuropean, compareWithAnotherOrganizationsYesWorld, compareWithAnotherOrganizationsNo, whoWillUseReportMarketing, whoWillUseReportCommercial, whoWillUseReportTopManagement, whoWillUseReportInvestors, reportTypeExcelSPSS, reportTypeAudio, reportTypeTableAndChartsExcel, reportTypeMarketingInterpretation, reportTypeSmallPresentation, reportTypePersonalCabinet', 'safe')), parent::rules()); }
public function rules() { return array_merge(parent::rules(), array(array('surveySteps, selectedSurveySteps, surveyStepsCount, comment', 'safe'))); }
public function rules() { return array_merge(array(array('questions, comments, questionsQueue, deletedQuestions', 'safe')), parent::rules()); }
public function rules() { return array_merge(array(array('fileSMS, fileEmail', 'file', 'types' => array('csv'), "allowEmpty" => true), array('fileWithClientData', 'file', "allowEmpty" => true), array('fileSMS', 'FileIsNecessaryValidator', 'needFileMethodName' => 'needSMSFile'), array('fileEmail', 'FileIsNecessaryValidator', 'needFileMethodName' => 'needEmailFile'), array('fileWithClientData', 'FileIsNecessaryValidator', 'needFileMethodName' => 'needFileWithClientData'), array('fileWithClientData, fileSMS, fileEmail', 'safe')), parent::rules()); }
public function rules() { return array_merge(array(array('other, purposes', 'safe')), parent::rules()); }