Class cApiUserPropertyCollection
User property collection
- cGenericDb
- cItemBaseAbstract
- ItemCollection
- cApiUserPropertyCollection
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.user.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.user.property.php
public
|
|
public static
|
|
public
|
|
public
|
#
setValueByTypeName( string $type, string $name, string $value, integer $idcatlang = 0 )
Updates an existing user property entry or creates it. |
public
|
|
public
array
|
|
public
array
|
#
fetchByTypeName( string $type, string $name )
Returns all user properties of all users by type and name. NOTE: Enabled caching will be skipped in this case, since it will return settings for all usery! |
public
|
#
fetchByUserIdTypeName( string $type, string $name )
Returns all user properties by userid, type and name. |
public
array
|
|
public
boolean
|
#
deleteByUserIdTypeName( string $type, string $name )
Deletes user property by userid, type and name. |
public
boolean
|
|
public
boolean
|
|
protected
boolean
|
|
protected
|
|
protected
|
|
protected
array
|
|
public
|
#
_fetchByUserIdTypeNameFromCache( string $type, string $name )
Fetches user properties by userid, type and name from cache. |
public
array
|
#
_fetchByUserIdTypeFromCache( string $type )
Fetches user properties by userid and type from cache. |
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
|
$_userId | '' |
#
User id (usually the current logged in user) |
protected static
array
|
$_entries |
|
#
List of cached entries |
protected static
boolean
|
$_enableCache |
|
#
Flag to enable caching. |
$_className,
$_loaded,
$_oCache,
$_primaryKeyName,
$_settings,
$db,
$lasterror,
$properties,
$secondDb,
$table
|