Skip to content

icms_db_criteria_Item

Raimondas Rimkevičius edited this page Mar 9, 2020 · 1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!

icms_db_criteria_Item

A single criteria

Abstract base class should never be instantiated directly.

Properties

$prefix

public string $prefix

Prefix for column

  • Visibility: public

$function

public string $function

Function used for column

  • Visibility: public

$column

public string $column

Column name

  • Visibility: public

$operator

public string $operator

Operator used in comparision

  • Visibility: public

$value

public mixed $value = \null

Value used in comparision

  • Visibility: public

$order

public string $order = ASC

Sort order

  • Visibility: public

$sort

public string $sort
  • Visibility: public

$limit

public int $limit

Number of records to retrieve

  • Visibility: public

$start

public int $start

Offset of first record

  • Visibility: public

$groupby

public string $groupby
  • Visibility: public

Methods

__construct

mixed icms_db_criteria_Element::__construct()

Constructor

render

mixed icms_db_criteria_Element::render()

Render the criteria element

renderLdap

string icms_db_criteria_Item::renderLdap()

Generate an LDAP filter from criteria

  • Visibility: public

renderWhere

string icms_db_criteria_Item::renderWhere()

Make a SQL "WHERE" clause

  • Visibility: public

setSort

mixed icms_db_criteria_Element::setSort(string sort)

Arguments

  • sort string

getSort

string icms_db_criteria_Element::getSort()

setOrder

mixed icms_db_criteria_Element::setOrder(string order)

Arguments

  • order string

getOrder

string icms_db_criteria_Element::getOrder()

setLimit

mixed icms_db_criteria_Element::setLimit(int limit)

Arguments

  • limit int

getLimit

int icms_db_criteria_Element::getLimit()

setStart

mixed icms_db_criteria_Element::setStart(int start)

Arguments

  • start int

getStart

int icms_db_criteria_Element::getStart()

setGroupby

mixed icms_db_criteria_Element::setGroupby(string group)

Arguments

  • group string

getGroupby

string icms_db_criteria_Element::getGroupby()
Clone this wiki locally