|
| | __construct ($db, $field, $table_alias=false) |
| |
| | getDefaultSearchMethod () |
| |
| | partial ($value) |
| |
| | exact ($value) |
| |
| | between ($from, $to, $include=true) |
| |
| | outside ($from, $to, $include=false) |
| |
| | interval ($value, $interval, $include=true) |
| |
| | range ($from, $to, $include=false) |
| |
| | modulo ($from, $to, $include=false) |
| |
| | __construct ($db, $field, $table_alias=false) |
| |
| | isEmpty ($value) |
| |
| | getDefaultSearchMethod () |
| |
| | getSearchMethods () |
| |
| | exact ($value) |
| |
| | partial ($value) |
| |
| | between ($from, $to, $include=true) |
| |
| | outside ($from, $to, $include=false) |
| |
| | interval ($from, $interval) |
| |
| | range ($from, $to, $include=true) |
| |
| | modulo ($from, $interval, $include=true) |
| |
| | search ($value, $operator='=') |
| |
| | getFieldName () |
| |
◆ __construct()
| __construct |
( |
|
$db, |
|
|
|
$field, |
|
|
|
$table_alias = false |
|
) |
| |
Constructor
- Paramètres
-
| FOFDatabaseDriver | $db | The database object |
| object | $field | The field informations as taken from the db |
Références $db, et $field.
◆ between()
| between |
( |
|
$from, |
|
|
|
$to, |
|
|
|
$include = true |
|
) |
| |
Dummy method; this search makes no sense for text fields
- Paramètres
-
| mixed | $from | Ignored |
| mixed | $to | Ignored |
| boolean | $include | Ignored |
- Renvoie
- string Empty string
◆ exact()
Perform an exact match (match string)
- Paramètres
-
| mixed | $value | The value to compare to |
- Renvoie
- string The SQL where clause for this search
Références $value.
◆ getDefaultSearchMethod()
| getDefaultSearchMethod |
( |
| ) |
|
Returns the default search method for this field.
- Renvoie
- string
◆ interval()
| interval |
( |
|
$value, |
|
|
|
$interval, |
|
|
|
$include = true |
|
) |
| |
Dummy method; this search makes no sense for text fields
- Paramètres
-
| mixed | $value | Ignored |
| mixed | $interval | Ignored |
| boolean | $include | Ignored |
- Renvoie
- string Empty string
◆ modulo()
| modulo |
( |
|
$from, |
|
|
|
$to, |
|
|
|
$include = false |
|
) |
| |
Dummy method; this search makes no sense for text fields
- Paramètres
-
| mixed | $from | Ignored |
| mixed | $to | Ignored |
| boolean | $include | Ignored |
- Renvoie
- string Empty string
◆ outside()
| outside |
( |
|
$from, |
|
|
|
$to, |
|
|
|
$include = false |
|
) |
| |
Dummy method; this search makes no sense for text fields
- Paramètres
-
| mixed | $from | Ignored |
| mixed | $to | Ignored |
| boolean | $include | Ignored |
- Renvoie
- string Empty string
◆ partial()
Perform a partial match (search in string)
- Paramètres
-
| mixed | $value | The value to compare to |
- Renvoie
- string The SQL where clause for this search
Références $value.
◆ range()
| range |
( |
|
$from, |
|
|
|
$to, |
|
|
|
$include = false |
|
) |
| |
Dummy method; this search makes no sense for text fields
- Paramètres
-
| mixed | $from | Ignored |
| mixed | $to | Ignored |
| boolean | $include | Ignored |
- Renvoie
- string Empty string
La documentation de cette classe a été générée à partir du fichier suivant :