\Pop\Db\Sql\PredicateAbstractPredicate

Abstract predicate class

Summary

Methods
Properties
Constants
__construct()
getFormat()
setValues()
getValues()
setConjunction()
getConjunction()
render()
No public properties found
No constants found
No protected methods found
$format
$values
$conjunction
N/A
No private methods found
No private properties found
N/A

Properties

$format

$format : string

Format

Type

string

$values

$values : mixed

Values

Type

mixed

$conjunction

$conjunction : string

Conjunction

Type

string

Methods

__construct()

__construct(mixed  $values, string  $conjunction = 'AND') 

Constructor

Instantiate the predicate set object

Parameters

mixed $values
string $conjunction

getFormat()

getFormat() : string

Get the format

Returns

string

getValues()

getValues() : array

Get the values

Returns

array

setConjunction()

setConjunction(string  $conjunction) : \Pop\Db\Sql\Predicate\AbstractPredicate

Get the conjunction

Parameters

string $conjunction

Returns

\Pop\Db\Sql\Predicate\AbstractPredicate

getConjunction()

getConjunction() : string

Get the conjunction

Returns

string

render()

render(\Pop\Db\Sql\AbstractSql  $sql) : string

Render the predicate string

Parameters

\Pop\Db\Sql\AbstractSql $sql

Returns

string