Class cApiPropertyCollection
Property collection
- cGenericDb
- cItemBaseAbstract
- ItemCollection
- cApiPropertyCollection
Package: Core\GenericDB\Model
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Murat Purc murat@purc.de
Located at classes/contenido/class.property.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Murat Purc murat@purc.de
Located at classes/contenido/class.property.php
public
|
|
public static
|
|
public
|
|
public
mixed
|
|
public
array
|
#
getValuesByType( mixed $itemtype, mixed $itemid, mixed $type )
Returns the value for a given item. |
public
array
|
|
public
|
|
public
|
|
public
array
|
|
public
array
|
#
getAllValues( mixed $field, mixed $fieldValue,
Returns all datasets selected by given field and value combination |
public
|
#
deleteProperties( mixed $itemtype, mixed $itemid )
Delete all properties which match itemtype and itemid |
public
|
#
deletePropertiesMultiple( mixed $itemtype, array $itemids )
Delete all properties which match itemtype and multiple itemids. |
public
|
|
protected
|
#
_loadFromCache( )
Loads/Caches configured properties, but only for current client! NOTE: It loads properties for global set client, not for the client set in this instance! |
protected
boolean
|
|
protected
|
#
_deletePropertiesByIds( array $ids )
Deletes multiple property entries by their ids. Deletes them also from internal cache. |
protected
|
|
protected
|
|
protected
|
|
protected
mixed
|
#
_getValueFromCache( mixed $itemtype, mixed $itemid, mixed $type, mixed $name, mixed $default = false )
Returns the value for a given item from cache. |
protected
array
|
#
_getValuesByTypeFromCache( mixed $itemtype, mixed $itemid, mixed $type )
Returns the values for a given item by its type from cache. |
public
array
|
#
_getPropertiesFromCache( mixed $itemtype, mixed $itemid )
Returns poperties for given item are available. |
_getPropertiesCollectionInstance(),
_getSecondDBInstance(),
_resetItem(),
escape()
|
_executeCallbacks(),
register(),
unregister()
|
CREATE_BEFORE,
CREATE_FAILURE,
CREATE_SUCCESS,
DELETE_BEFORE,
DELETE_FAILURE,
DELETE_SUCCESS,
STORE_BEFORE,
STORE_FAILURE,
STORE_SUCCESS
|
public
integer
|
$client
Client id |
|
protected static
array
|
$_entries
List of cached entries |
|
protected static
boolean
|
$_enableCache
Flag to enable caching. |
|
protected static
array
|
$_cacheItemtypes
Itemtypes and itemids array |
$_className,
$_oCache,
$_settings,
$db,
$lasterror,
$primaryKey,
$properties,
$secondDb,
$table,
$virgin
|