Class TfCriteriaItem
Represents a single clause in the WHERE component of a database query.
Add TfCriteriaItem to TfCriteria to build your queries. Please see the Tuskfish Developer Guide for a full explanation and examples.
- TfCriteriaItem uses TfMagicMethods
Package: database
Copyright: Simon Wilkinson 2013+ (https://tuskfish.biz)
License: GNU General Public License (GPL) V2
Author: Simon Wilkinson simon@isengard.biz
Version: Release: 1.0
Since: 1.0
Uses: trait TfMagicMethods Prevents direct setting of properties / unlisted properties.
Located at trust_path/libraries/tuskfish/class/TfCriteriaItem.php
Copyright: Simon Wilkinson 2013+ (https://tuskfish.biz)
License: GNU General Public License (GPL) V2
Author: Simon Wilkinson simon@isengard.biz
Version: Release: 1.0
Since: 1.0
Uses: trait TfMagicMethods Prevents direct setting of properties / unlisted properties.
Located at trust_path/libraries/tuskfish/class/TfCriteriaItem.php
Methods summary
public
|
#
__construct(
Constructor. |
public
array
|
#
getListOfPermittedOperators( )
Provides a whitelist of permitted operators for use in database queries. |
public
|
|
public
|
|
public
|
Methods used from TfMagicMethods
Properties summary
protected
|
$validator
|
|
protected
boolean
|
$column
|
#
false
|
protected
boolean
|
$value
|
#
false
|
protected
string
|
$operator
|
#
"="
|
Magic properties
public
|
$validator
Instance of the Tuskfish data validator class. |
public
string
|
$column
Name of column in database table |
public
mixed
|
$value
Value to compare |
public
string
|
$operator
The operator to use for evaluation (=, +, >, < etc) |