public function rules() { return [[['status'], 'integer'], [['created_at'], DateRangeValidator::className()], [['email'], 'email'], [['username', 'first_name', 'last_name'], 'safe']]; }
/** * @inheritdoc */ public function rules() { return [[['id', 'user_id'], 'integer'], [['created_at'], DateRangeValidator::className()], [['module', 'model', 'action', 'data', 'icon'], 'safe']]; }
/** * @inheritdoc */ public function rules() { return [[['id', 'category_id', 'status'], 'integer'], [['title'], 'string'], [['date'], DateRangeValidator::className()]]; }