rules() public method

public rules ( )
 public function rules()
 {
     return ArrayHelper::merge(parent::rules(), [['section', 'integer'], ['created_at_from', 'integer'], ['created_at_to', 'integer'], ['updated_at_from', 'integer'], ['updated_at_to', 'integer'], ['published_at_from', 'integer'], ['published_at_to', 'integer'], ['has_image', 'integer'], ['has_full_image', 'integer'], ['q', 'string']]);
 }