abstract class Concrete extends Listing (View source)

Properties

protected AbstractDao $dao from AbstractModel
protected string|array $order from AbstractListing
protected string|array $orderKey from AbstractListing
protected int $limit from AbstractListing
protected int $offset from AbstractListing
protected string $condition from AbstractListing
protected array $conditionVariables from AbstractListing
protected array $conditionVariablesFromSetCondition from AbstractListing
protected string $groupBy from AbstractListing
protected array $validOrders from AbstractListing
protected array $conditionParams from AbstractListing
array $objects from Listing
bool $unpublished from Listing
array $objectTypes from Listing
array $validOrderKeys from Listing
int $classId
string $className
string $locale
bool $ignoreLocalizedFields do not use the localized views for this list (in the case the class contains localized fields), conditions on localized fields are not possible

Methods

Dao
getDao()

No description

setDao($dao)

No description

getResource() deprecated

No description

initDao(null $key = null, bool $forceDetection = false)

No description

static string|null
locateDaoClass(string $modelClass)

No description

$this
setValues(array $data = [])

No description

$this
setValue($key, $value)

No description

array
__sleep()

No description

mixed
__call($method, $args)

No description

__clone()

No description

array
getObjectVars()

returns object values without the dao

array
__debugInfo()

No description

void
beginTransaction()

No description

void
commit()

No description

void
rollBack()

No description

void
configure()

No description

array
getValidTableColumns(string $table, bool $cache)

No description

void
resetValidTableColumnsCache(string $table)

No description

bool
isValidOrderKey($key)

No description

int
getLimit()

No description

int
getOffset()

No description

array|string
getOrder()

No description

$this
setLimit($limit)

No description

$this
setOffset($offset)

No description

$this
setOrder($order)

No description

array|string
getOrderKey()

No description

$this
setOrderKey(string|array $orderKey, bool $quote = true)

No description

$this
addConditionParam($key, null $value = null, string $concatenator = 'AND')

No description

from Listing
array
getConditionParams()

No description

$this
resetConditionParams()

No description

from Listing
string
getCondition()

No description

$this
setCondition($condition, null $conditionVariables = null)

No description

from Listing
string
getGroupBy()

No description

array
getValidOrders()

No description

$this
setGroupBy($groupBy, bool $qoute = true)

No description

from Listing
$this
setValidOrders($validOrders)

No description

string
quote($value, $type = null)

No description

$this
setConditionVariables($conditionVariables)

No description

array
getConditionVariables()

No description

$this
setConditionVariablesFromSetCondition($conditionVariables)

No description

getQuery()

No description

array
getObjects()

No description

from Listing
$this
setObjects(string $objects)

No description

from Listing
bool
getUnpublished()

No description

from Listing
bool
setUnpublished($unpublished)

No description

from Listing
$this
setObjectTypes($objectTypes)

No description

from Listing
array
getObjectTypes()

No description

from Listing
int
count()

No description

from Listing
array
getItems(int $offset, int $itemCountPerPage)

No description

from Listing
Listing|Zend_Paginator_Adapter_Interface|AdapterInterface
getPaginatorAdapter()

No description

from Listing
rewind()

Methods for Iterator

from Listing
mixed
current()

No description

from Listing
mixed
key()

No description

from Listing
mixed|void
next()

No description

from Listing
bool
valid()

No description

from Listing
bool
addDistinct()

No description

int
getTotalCount()

No description

from Listing
int
getCount()

No description

from Listing
onCreateQuery(callable $callback)

No description

from Listing
__construct()

No description

string
getClassId()

No description

string
getClassName()

No description

$this
setClassId($classId)

No description

$this
setClassName($className)

No description

getClass()

No description

$this
setLocale(mixed $locale)

No description

string
getLocale()

No description

$this
setIgnoreLocalizedFields(bool $ignoreLocalizedFields)

No description

bool
getIgnoreLocalizedFields()

No description

addFieldCollection($type, null $fieldname = null)

No description

$this
setFieldCollections($fieldCollections)

No description

array
getFieldCollections()

No description

addObjectbrick($type)

No description

$this
setObjectbricks($objectbricks)

No description

array
getObjectbricks()

No description

Details

Dao getDao()

Return Value

Dao

AbstractModel setDao($dao)

Parameters

$dao

Return Value

AbstractModel

AbstractDao getResource() deprecated

deprecated

Return Value

AbstractDao

initDao(null $key = null, bool $forceDetection = false)

Parameters

null $key
bool $forceDetection

Exceptions

Exception

static string|null locateDaoClass(string $modelClass)

Parameters

string $modelClass

Return Value

string|null

$this setValues(array $data = [])

Parameters

array $data

Return Value

$this

$this setValue($key, $value)

Parameters

$key
$value

Return Value

$this

array __sleep()

Return Value

array

mixed __call($method, $args)

Parameters

$method
$args

Return Value

mixed

Exceptions

Exception

__clone()

array getObjectVars()

returns object values without the dao

Return Value

array

array __debugInfo()

Return Value

array

void beginTransaction()

Return Value

void

void commit()

Return Value

void

void rollBack()

Return Value

void

void configure()

Return Value

void

array getValidTableColumns(string $table, bool $cache)

Parameters

string $table
bool $cache

Return Value

array

void resetValidTableColumnsCache(string $table)

Parameters

string $table

Return Value

void

bool isValidOrderKey($key)

Parameters

$key

Return Value

bool

int getLimit()

Return Value

int

int getOffset()

Return Value

int

array|string getOrder()

Return Value

array|string

$this setLimit($limit)

Parameters

$limit

Return Value

$this

$this setOffset($offset)

Parameters

$offset

Return Value

$this

$this setOrder($order)

Parameters

$order

Return Value

$this

array|string getOrderKey()

Return Value

array|string

$this setOrderKey(string|array $orderKey, bool $quote = true)

Parameters

string|array $orderKey
bool $quote

Return Value

$this

$this addConditionParam($key, null $value = null, string $concatenator = 'AND')

Parameters

$key
null $value
string $concatenator

Return Value

$this

array getConditionParams()

Return Value

array

$this resetConditionParams()

Return Value

$this

string getCondition()

Return Value

string

$this setCondition($condition, null $conditionVariables = null)

Parameters

$condition
null $conditionVariables

Return Value

$this

string getGroupBy()

Return Value

string

array getValidOrders()

Return Value

array

$this setGroupBy($groupBy, bool $qoute = true)

Parameters

$groupBy
bool $qoute

Return Value

$this

$this setValidOrders($validOrders)

Parameters

$validOrders

Return Value

$this

string quote($value, $type = null)

Parameters

$value
$type

Return Value

string

$this setConditionVariables($conditionVariables)

Parameters

$conditionVariables

Return Value

$this

array getConditionVariables()

Return Value

array

$this setConditionVariablesFromSetCondition($conditionVariables)

Parameters

$conditionVariables

Return Value

$this

array getConditionVariablesFromSetCondition()

Return Value

array

QueryBuilder getQuery()

Return Value

QueryBuilder

array getObjects()

Return Value

array

$this setObjects(string $objects)

Parameters

string $objects

Return Value

$this

bool getUnpublished()

Return Value

bool

bool setUnpublished($unpublished)

Parameters

$unpublished

Return Value

bool

$this setObjectTypes($objectTypes)

Parameters

$objectTypes

Return Value

$this

array getObjectTypes()

Return Value

array

int count()

Return Value

int

array getItems(int $offset, int $itemCountPerPage)

Parameters

int $offset
int $itemCountPerPage

Return Value

array

Listing|Zend_Paginator_Adapter_Interface|AdapterInterface getPaginatorAdapter()

Return Value

Listing|Zend_Paginator_Adapter_Interface|AdapterInterface

rewind()

Methods for Iterator

mixed current()

Return Value

mixed

mixed key()

Return Value

mixed

mixed|void next()

Return Value

mixed|void

bool valid()

Return Value

bool

bool addDistinct()

Return Value

bool

int getTotalCount()

Return Value

int

int getCount()

Return Value

int

onCreateQuery(callable $callback)

Parameters

callable $callback

__construct()

Exceptions

Exception

string getClassId()

Return Value

string

string getClassName()

Return Value

string

$this setClassId($classId)

Parameters

$classId

Return Value

$this

$this setClassName($className)

Parameters

$className

Return Value

$this

ClassDefinition getClass()

Return Value

ClassDefinition

$this setLocale(mixed $locale)

Parameters

mixed $locale

Return Value

$this

string getLocale()

Return Value

string

$this setIgnoreLocalizedFields(bool $ignoreLocalizedFields)

Parameters

bool $ignoreLocalizedFields

Return Value

$this

bool getIgnoreLocalizedFields()

Return Value

bool

addFieldCollection($type, null $fieldname = null)

Parameters

$type
null $fieldname

Exceptions

Exception

$this setFieldCollections($fieldCollections)

Parameters

$fieldCollections

Return Value

$this

Exceptions

Exception

array getFieldCollections()

Return Value

array

addObjectbrick($type)

Parameters

$type

Exceptions

Exception

$this setObjectbricks($objectbricks)

Parameters

$objectbricks

Return Value

$this

Exceptions

Exception

array getObjectbricks()

Return Value

array