Kajona\System\System\OrmObjectlistPropertyInRestriction

A objectlist restriction may be used to create where restrictions for the objectList and objectCount queries.

This restrcition creates an IN statement e.g. "AND <columnname> IN (<parameters>)"

Synopsis

class OrmObjectlistPropertyInRestriction extends OrmObjectlistInRestriction {
  • // Inherited members from OrmObjectlistRestriction
  • protected array $arrParams;
}

Hierarchy

Constants

Name Value
MAX_IN_VALUES 950
STR_CONDITION_IN "IN"
STR_CONDITION_NOTIN "NOT IN"

Members

private

  • $strPropertyName

protected

  • $arrParams

Methods

public

  • __construct() — OrmObjectlistPropertyInRestriction constructor.
  • getStrWhere() — Here comes the magic, generation a where restriction out of the passed property name and the comparator

Inherited from Kajona\System\System\OrmObjectlistInRestriction

protected

public

Inherited from Kajona\System\System\OrmObjectlistRestriction

public