Kajona\System\System\OrmPropertyCondition

A OrmPropertyCondition may be used to create where condition for the objectList and objectCount queries.

Therefore you may pass the name of a property, the comparator and, finally, the expecteed value of the property.
Example:
$objQuery->addWhereRestriction(new OrmPropertyCondition("strTitle", OrmComparatorEnum::Equal(), "abc"));

Synopsis

class OrmPropertyCondition extends OrmCondition {
  • // Inherited members from OrmObjectlistRestriction
  • protected array $arrParams;
}

Hierarchy

Constants

Name Value
STR_CONDITION_AND "AND"
STR_CONDITION_OR "OR"

Members

private

protected

  • $arrParams

Methods

public

Inherited from Kajona\System\System\OrmCondition

public

Inherited from Kajona\System\System\OrmObjectlistRestriction

public