![]() |
Framework
3.9
|
StringSearchParameterHandler is a SearchParameterHandler for text database types. More...
Inheritance diagram for StringSearchParameterHandler:
Collaboration diagram for StringSearchParameterHandler:Public Member Functions | |
| 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... | |
| 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... | |
| 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 | |
| checked ($name, $value) | |
| Generate the constraint expresssion for matching boolean only when the UI element is selected. More... | |
StringSearchParameterHandler is a SearchParameterHandler for text database types.
Definition at line 273 of file search_form.inc.
| StringSearchParameterHandler::all | ( | $name, | |
| $value | |||
| ) |
Generate the constraint expression for matching all words in a group of words but allowing other words in between.
| string | $name | the name of the field |
| string | $value | a string that may contain multiple words |
Reimplemented from SearchParameterHandler.
Definition at line 334 of file search_form.inc.
| StringSearchParameterHandler::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 313 of file search_form.inc.
| StringSearchParameterHandler::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 275 of file search_form.inc.
| StringSearchParameterHandler::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 293 of file search_form.inc.
| StringSearchParameterHandler::fullName | ( | $f_name, | |
| $l_name, | |||
| $value | |||
| ) |
Generate the constraint expression for matching the f_name and l_name fields to a given value.
| string | $f_name | the name of the first name field |
| string | $l_name | the name of the last name field |
| string | $value | a string that may contain multiple words |
Reimplemented from SearchParameterHandler.
Definition at line 357 of file search_form.inc.
| StringSearchParameterHandler::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 281 of file search_form.inc.
| StringSearchParameterHandler::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 389 of file search_form.inc.
| StringSearchParameterHandler::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 305 of file search_form.inc.
| StringSearchParameterHandler::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 287 of file search_form.inc.
| StringSearchParameterHandler::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 299 of file search_form.inc.