\Kendo\UI\FilterMenuOperators

A PHP class representing the operators setting of FilterMenu.

Methods

date

The texts of the filter operators displayed for columns bound to date fields.

Returns

\Kendo\UI\FilterMenuOperators

Parameters

$value \Kendo\UI\FilterMenuOperatorsDate |array

Example - using \Kendo\UI\FilterMenuOperatorsDate

<?php
$operators = new \Kendo\UI\FilterMenuOperators();
$date = new \Kendo\UI\FilterMenuOperatorsDate();
$eq = 'value';
$date->eq($eq);
$operators->date($date);
?>

Example - using array

<?php
$operators = new \Kendo\UI\FilterMenuOperators();
$eq = 'value';
$operators->date(array('eq' => $eq));
?>

enums

The texts of the filter operators displayed for columns which have their values option set.

Returns

\Kendo\UI\FilterMenuOperators

Parameters

$value \Kendo\UI\FilterMenuOperatorsEnums |array

Example - using \Kendo\UI\FilterMenuOperatorsEnums

<?php
$operators = new \Kendo\UI\FilterMenuOperators();
$enums = new \Kendo\UI\FilterMenuOperatorsEnums();
$eq = 'value';
$enums->eq($eq);
$operators->enums($enums);
?>

Example - using array

<?php
$operators = new \Kendo\UI\FilterMenuOperators();
$eq = 'value';
$operators->enums(array('eq' => $eq));
?>

number

The texts of the filter operators displayed for columns bound to number fields.

Returns

\Kendo\UI\FilterMenuOperators

Parameters

$value \Kendo\UI\FilterMenuOperatorsNumber |array

Example - using \Kendo\UI\FilterMenuOperatorsNumber

<?php
$operators = new \Kendo\UI\FilterMenuOperators();
$number = new \Kendo\UI\FilterMenuOperatorsNumber();
$eq = 'value';
$number->eq($eq);
$operators->number($number);
?>

Example - using array

<?php
$operators = new \Kendo\UI\FilterMenuOperators();
$eq = 'value';
$operators->number(array('eq' => $eq));
?>

string

The texts of the filter operators displayed for columns bound to string fields.

Returns

\Kendo\UI\FilterMenuOperators

Parameters

$value \Kendo\UI\FilterMenuOperatorsString |array

Example - using \Kendo\UI\FilterMenuOperatorsString

<?php
$operators = new \Kendo\UI\FilterMenuOperators();
$string = new \Kendo\UI\FilterMenuOperatorsString();
$contains = 'value';
$string->contains($contains);
$operators->string($string);
?>

Example - using array

<?php
$operators = new \Kendo\UI\FilterMenuOperators();
$contains = 'value';
$operators->string(array('contains' => $contains));
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy