PHP Class FOF30\Model\DataModel\Filter\Text

Inheritance: extends AbstractFilter
Datei anzeigen Open project: akeeba/fof Class Usage Examples

Public Methods

Method Description
__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

Method Details

__construct() public method

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

between() public method

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
return string Empty string

exact() public method

Perform an exact match (match string)
public exact ( mixed $value ) : string
$value mixed The value to compare to
return string The SQL where clause for this search

getDefaultSearchMethod() public method

Returns the default search method for this field.
public getDefaultSearchMethod ( ) : string
return string

interval() public method

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
return string Empty string

modulo() public method

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
return string Empty string

outside() public method

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
return string Empty string

partial() public method

Perform a partial match (search in string)
public partial ( mixed $value ) : string
$value mixed The value to compare to
return string The SQL where clause for this search

range() public method

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
return string Empty string