![]() |
Framework
3.9
|
DateSearchParameterHandler is a SearchParameterHandler for date database types. More...
Public Member Functions | |
reformatToSQLDate ($date) | |
equal ($name, $value) | |
Generates the constraint expression for equality matching parameters. More... | |
like ($name, $value) | |
Generates the constraint expression for 'like' matching parameters, i.e. More... | |
startsWith ($name, $value) | |
Generates the constraint expression for 'startsWith' matching parameters, i.e. More... | |
from ($name, $from) | |
Generates the constraint expression for 'from' matching parameters, i.e. More... | |
to ($name, $to) | |
Generates the constraint expression for 'to' matching parameters, i.e. More... | |
range ($name, $from, $to) | |
Generates the constraint expression for 'range' matching parameters, i.e. More... | |
![]() | |
member ($name, $set) | |
Generate the constraint expression for set membership matching paramters, matching values in a comma delimite set. More... | |
any ($name, $value) | |
Generate the constraint expression for matching any word in a group of words. More... | |
all ($name, $value) | |
Generate the constraint expression for matching all words in a group of words but allowing other words in between. More... | |
fullName ($f_name, $l_name, $value) | |
Generate the constraint expression for matching the f_name and l_name fields to a given value. More... | |
checked ($name, $value) | |
Generate the constraint expresssion for matching boolean only when the UI element is selected. More... | |
DateSearchParameterHandler is a SearchParameterHandler for date database types.
Definition at line 415 of file search_form.inc.
DateSearchParameterHandler::equal | ( | $name, | |
$value | |||
) |
Generates the constraint expression for equality matching parameters.
string | $name | the name of the field |
mixed | $value | the value to match |
Reimplemented from SearchParameterHandler.
Definition at line 439 of file search_form.inc.
DateSearchParameterHandler::from | ( | $name, | |
$from | |||
) |
Generates the constraint expression for 'from' matching parameters, i.e.
matching values that are greater than or equal to the specified value.
string | $name | the name of the field |
mixed | $from | the lower bound |
Reimplemented from SearchParameterHandler.
Definition at line 456 of file search_form.inc.
DateSearchParameterHandler::like | ( | $name, | |
$value | |||
) |
Generates the constraint expression for 'like' matching parameters, i.e.
matching a substring or partial match.
string | $name | the name of the field |
mixed | $value | the value to match |
Reimplemented from SearchParameterHandler.
Definition at line 445 of file search_form.inc.
DateSearchParameterHandler::range | ( | $name, | |
$from, | |||
$to | |||
) |
Generates the constraint expression for 'range' matching parameters, i.e.
matching values that within the range of the two specified values.
string | $name | the name of the field |
string | $from | the lower bound |
mixed | $to | the value to match |
Reimplemented from SearchParameterHandler.
Definition at line 469 of file search_form.inc.
DateSearchParameterHandler::reformatToSQLDate | ( | $date | ) |
Definition at line 417 of file search_form.inc.
DateSearchParameterHandler::startsWith | ( | $name, | |
$value | |||
) |
Generates the constraint expression for 'startsWith' matching parameters, i.e.
matching a substring or partial match at the start of the field only.
string | $name | the name of the field |
string | $value | the value to match |
Reimplemented from SearchParameterHandler.
Definition at line 451 of file search_form.inc.
DateSearchParameterHandler::to | ( | $name, | |
$to | |||
) |
Generates the constraint expression for 'to' matching parameters, i.e.
matching values that are less than or equal to the specified value.
string | $name | the name of the field |
mixed | $to | the upper bound |
Reimplemented from SearchParameterHandler.
Definition at line 463 of file search_form.inc.