Class cApiGroupPropertyCollection
Group property collection.
The cApiGroupPropertyCollection class keeps also track of changed and deleted properties and synchronizes them with cached values, as long as you use the interface of cApiGroupPropertyCollection to manage the properties.
- cGenericDb
- cItemBaseAbstract
- ItemCollection
- cApiGroupPropertyCollection
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.group.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.group.property.php
public
|
|
public static
|
|
public
|
|
public
|
#
setValueByTypeName( string $type, string $name, string $value, integer $idcatlang = 0 )
Updatess a existing group property entry or creates it. |
public
|
|
public
|
#
fetchByGroupIdTypeName( string $type, string $name )
Returns group property by groupid, type and name. |
public
array
|
|
public
array
|
|
public
boolean
|
#
deleteByGroupIdTypeName( string $type, string $name )
Deletes group property by groupid, type and name. |
public
boolean
|
|
public
boolean
|
|
protected
boolean
|
|
protected
|
|
protected
|
|
protected
|
#
_fetchByGroupIdTypeNameFromCache( string $type, string $name )
Fetches group property by groupid, type and name from cache. |
protected
array
|
#
_fetchByGroupIdTypeFromCache( string $type )
Fetches all group properties by groupid and type from cache. |
protected
array
|
|
protected
|
__get(),
__set(),
_getPropertiesCollectionInstance(),
_getSecondDBInstance(),
_resetItem(),
_setLoaded(),
_setPrimaryKeyName(),
escape(),
getPrimaryKeyName(),
isLoaded()
|
_executeCallbacks(),
register(),
unregister()
|
CREATE_BEFORE,
CREATE_FAILURE,
CREATE_SUCCESS,
DELETE_BEFORE,
DELETE_FAILURE,
DELETE_SUCCESS,
STORE_BEFORE,
STORE_FAILURE,
STORE_SUCCESS
|
protected
string
|
$_groupId | '' |
#
Groups id (usually the current logged in users group) |
protected static
array
|
$_entries |
|
#
List of cached entries |
protected static
boolean
|
$_enableCache |
|
#
Flag to enable caching. |
protected static
integer
|
$_maxGroups | 3 |
#
Number of max groups to cache proerties from. |
$_className,
$_loaded,
$_oCache,
$_primaryKeyName,
$_settings,
$db,
$lasterror,
$properties,
$secondDb,
$table
|