rules() public method Returns the validation rules for
$type public property Type of the input search value
$query public property Query attribute input search value
search() public method Returns data provider with filled
attributeLabels() public method Returns the attribute