PHP Класс FOF30\Model\DataModel\Filter\Text

Наследование: extends AbstractFilter
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( JDatabaseDriver $db, object $field ) Constructor
between ( mixed $from, mixed $to, boolean $include = true ) : string Dummy method; this search makes no sense for text fields
exact ( mixed $value ) : string Perform an exact match (match string)
getDefaultSearchMethod ( ) : string Returns the default search method for this field.
interval ( mixed $value, mixed $interval, boolean $include = true ) : string Dummy method; this search makes no sense for text fields
modulo ( mixed $from, mixed $interval, boolean $include = false ) : string Dummy method; this search makes no sense for text fields
outside ( mixed $from, mixed $to, boolean $include = false ) : string Dummy method; this search makes no sense for text fields
partial ( mixed $value ) : string Perform a partial match (search in string)
range ( mixed $from, mixed $to, boolean $include = false ) : string Dummy method; this search makes no sense for text fields

Описание методов

__construct() публичный Метод

Constructor
public __construct ( JDatabaseDriver $db, object $field )
$db JDatabaseDriver The database object
$field object The field informations as taken from the db

between() публичный Метод

Dummy method; this search makes no sense for text fields
public between ( mixed $from, mixed $to, boolean $include = true ) : string
$from mixed Ignored
$to mixed Ignored
$include boolean Ignored
Результат string Empty string

exact() публичный Метод

Perform an exact match (match string)
public exact ( mixed $value ) : string
$value mixed The value to compare to
Результат string The SQL where clause for this search

getDefaultSearchMethod() публичный Метод

Returns the default search method for this field.
public getDefaultSearchMethod ( ) : string
Результат string

interval() публичный Метод

Dummy method; this search makes no sense for text fields
public interval ( mixed $value, mixed $interval, boolean $include = true ) : string
$value mixed Ignored
$interval mixed Ignored
$include boolean Ignored
Результат string Empty string

modulo() публичный Метод

Dummy method; this search makes no sense for text fields
public modulo ( mixed $from, mixed $interval, boolean $include = false ) : string
$from mixed Ignored
$interval mixed Ignored
$include boolean Ignored
Результат string Empty string

outside() публичный Метод

Dummy method; this search makes no sense for text fields
public outside ( mixed $from, mixed $to, boolean $include = false ) : string
$from mixed Ignored
$to mixed Ignored
$include boolean Ignored
Результат string Empty string

partial() публичный Метод

Perform a partial match (search in string)
public partial ( mixed $value ) : string
$value mixed The value to compare to
Результат string The SQL where clause for this search

range() публичный Метод

Dummy method; this search makes no sense for text fields
public range ( mixed $from, mixed $to, boolean $include = false ) : string
$from mixed Ignored
$to mixed Ignored
$include boolean Ignored
Результат string Empty string