Class cApiClientLanguageCollection
Client language collection
- cGenericDb
- cItemBaseAbstract
- ItemCollection
- cApiClientLanguageCollection
Package: Core\GenericDB\Model
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Timo Hummel
Located at classes/contenido/class.clientslang.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Timo Hummel
Located at classes/contenido/class.clientslang.php
public
|
|
public
|
|
public
boolean
|
#
hasLanguageInClients( integer $iLang, array $aClientIds )
Checks if a language is associated with a given list of clients. |
public
array
|
#
getLanguagesByClient( integer $client )
Returns list of languages (language ids) by passed client. |
public
array
|
#
getLanguageNamesByClient( integer $client )
Returns all languages (language ids and names) of an client |
public
array
|
#
getAllLanguagesByClient( integer $client )
Returns all languages of an client. Merges the values from language and client language table and returns them back. |
public
integer
|
#
getFirstLanguageIdByClient( integer $client )
Returns the id of first language for a specific client. |
_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
|
$_className,
$_oCache,
$_settings,
$db,
$lasterror,
$primaryKey,
$properties,
$secondDb,
$table,
$virgin
|