\Kendo\UI\FilterOperators
A PHP class representing the operators setting of Filter.
Methods
boolean
The texts of the filter operators displayed for boolean fields
Returns
\Kendo\UI\FilterOperators
Parameters
$value \Kendo\UI\FilterOperatorsBoolean|array
Example - using \Kendo\UI\FilterOperatorsBoolean
<?php
$operators = new \Kendo\UI\FilterOperators();
$boolean = new \Kendo\UI\FilterOperatorsBoolean();
$eq = 'value';
$boolean->eq($eq);
$operators->boolean($boolean);
?>
Example - using array
<?php
$operators = new \Kendo\UI\FilterOperators();
$eq = 'value';
$operators->boolean(array('eq' => $eq));
?>
date
The texts of the filter operators displayed for date fields.
Returns
\Kendo\UI\FilterOperators
Parameters
$value \Kendo\UI\FilterOperatorsDate|array
Example - using \Kendo\UI\FilterOperatorsDate
<?php
$operators = new \Kendo\UI\FilterOperators();
$date = new \Kendo\UI\FilterOperatorsDate();
$eq = 'value';
$date->eq($eq);
$operators->date($date);
?>
Example - using array
<?php
$operators = new \Kendo\UI\FilterOperators();
$eq = 'value';
$operators->date(array('eq' => $eq));
?>
number
The texts of the filter operators displayed for number fields.
Returns
\Kendo\UI\FilterOperators
Parameters
$value \Kendo\UI\FilterOperatorsNumber|array
Example - using \Kendo\UI\FilterOperatorsNumber
<?php
$operators = new \Kendo\UI\FilterOperators();
$number = new \Kendo\UI\FilterOperatorsNumber();
$eq = 'value';
$number->eq($eq);
$operators->number($number);
?>
Example - using array
<?php
$operators = new \Kendo\UI\FilterOperators();
$eq = 'value';
$operators->number(array('eq' => $eq));
?>
string
The texts of the filter operators displayed for string fields.
Returns
\Kendo\UI\FilterOperators
Parameters
$value \Kendo\UI\FilterOperatorsString|array
Example - using \Kendo\UI\FilterOperatorsString
<?php
$operators = new \Kendo\UI\FilterOperators();
$string = new \Kendo\UI\FilterOperatorsString();
$contains = 'value';
$string->contains($contains);
$operators->string($string);
?>
Example - using array
<?php
$operators = new \Kendo\UI\FilterOperators();
$contains = 'value';
$operators->string(array('contains' => $contains));
?>