Propel 2 API
Class

Propel\Runtime\ActiveQuery\Criterion\BasicModelCriterion

class BasicModelCriterion extends AbstractModelCriterion

Specialized ModelCriterion used for traditional expressions, e.g.

table.column = ? or table.column >= ? etc.

Constants

UND

ODER

Methods

__construct(Criteria $outer, string $clause, ColumnMap $column, mixed $value = null, string $tableAlias = null)

Create a new instance.

from AbstractModelCriterion
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

public __construct(Criteria $outer, string $clause, ColumnMap $column, mixed $value = null, string $tableAlias = null)

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

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