![]() |
Framework
3.9
|
NumberSearchParameterHandler is a SearchParameterHandler for numeric database types. More...
Inheritance diagram for NumberSearchParameterHandler:
Collaboration diagram for NumberSearchParameterHandler:Public Member Functions | |
| equal ($name, $value) | |
| Generates the constraint expression for equality matching parameters. More... | |
| any ($name, $value) | |
| Generate the constraint expression for matching any word in a group of words. 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... | |
Public Member Functions inherited from SearchParameterHandler | |
| 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... | |
NumberSearchParameterHandler is a SearchParameterHandler for numeric database types.
Definition at line 190 of file search_form.inc.
| NumberSearchParameterHandler::any | ( | $name, | |
| $value | |||
| ) |
Generate the constraint expression for matching any word in a group of words.
| string | $name | the name of the field |
| string | $value | a string that may contain multiple words |
Reimplemented from SearchParameterHandler.
Definition at line 199 of file search_form.inc.
| NumberSearchParameterHandler::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 192 of file search_form.inc.
| NumberSearchParameterHandler::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 228 of file search_form.inc.
| NumberSearchParameterHandler::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 218 of file search_form.inc.
| NumberSearchParameterHandler::member | ( | $name, | |
| $set | |||
| ) |
Generate the constraint expression for set membership matching paramters, matching values in a comma delimite set.
| string | $name | the name of the field |
| string | $set | a comma delimited set of values to match |
Reimplemented from SearchParameterHandler.
Definition at line 256 of file search_form.inc.
| NumberSearchParameterHandler::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 240 of file search_form.inc.
| NumberSearchParameterHandler::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 223 of file search_form.inc.
| NumberSearchParameterHandler::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 234 of file search_form.inc.