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 )
Updatess a existing user property entry or creates it. |
public
|
|
public
|
|
public
|
#
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
|
|
public
boolean
|
#
deleteByUserIdTypeName( string $type, string $name )
Deletes user property by userid, type and name. |
public
boolean
|
|
public
boolean
|
|
protected
boolean
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
#
_fetchByUserIdTypeNameFromCache( string $type, string $name )
Fetches user properties by userid, type and name from cache. |
public
|
#
_fetchByUserIdTypeFromCache( string $type )
Fetches user properties by userid and type from cache. |
protected
|
_getPropertiesCollectionInstance(),
_getSecondDBInstance(),
escape()
|
_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,
$_oCache,
$_settings,
$db,
$lasterror,
$primaryKey,
$properties,
$secondDb,
$table,
$virgin
|