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. |
__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
|
$_className,
$_loaded,
$_oCache,
$_primaryKeyName,
$_settings,
$db,
$lasterror,
$properties,
$secondDb,
$table
|