Propel 2 API
Class

Propel\Runtime\ActiveQuery\Criterion\RawModelCriterion

class RawModelCriterion extends AbstractModelCriterion

Specialized ModelCriterion used for custom expressions with a typed binding, e.g.

'foobar = ?'

Constants

UND

ODER

Methods

__construct(Criteria $outer, string $clause, ColumnMap $column, mixed $value = null, string $tableAlias = null, int $type = PDO::PARAM_STR)

Create a new instance.

getClause()

from AbstractModelCriterion
boolean equals($obj)

This method checks another Criteria to see if they contain the same attributes and hashtable entries.

from AbstractModelCriterion

Details

at line 40
public __construct(Criteria $outer, string $clause, ColumnMap $column, mixed $value = null, string $tableAlias = null, int $type = PDO::PARAM_STR)

Create a new instance.

Parameters

Criteria $outer The outer class (this is an "inner" class).
string $clause A simple pseudo-SQL clause, e.g. 'foo.BAR LIKE ?'
ColumnMap $column A Column object to help escaping the value
mixed $value
string $tableAlias optional table alias
int $type A PDO type constant, e.g. PDO::PARAM_STR

public getClause()

public boolean equals($obj)

This method checks another Criteria to see if they contain the same attributes and hashtable entries.

Parameters

$obj

Return Value

boolean