Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • PHP
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SIWECOS
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Classes

  • cApiAction
  • cApiActionCollection
  • cApiActionlog
  • cApiActionlogCollection
  • cApiArea
  • cApiAreaCollection
  • cApiArticle
  • cApiArticleCollection
  • cApiArticleLanguage
  • cApiArticleLanguageCollection
  • cApiArticleLanguageVersion
  • cApiArticleLanguageVersionCollection
  • cApiArticleSpecification
  • cApiArticleSpecificationCollection
  • cApiCategory
  • cApiCategoryArticle
  • cApiCategoryArticleCollection
  • cApiCategoryCollection
  • cApiCategoryLanguage
  • cApiCategoryLanguageCollection
  • cApiCategoryTree
  • cApiCategoryTreeCollection
  • cApiClient
  • cApiClientCollection
  • cApiClientLanguage
  • cApiClientLanguageCollection
  • cApiCommunication
  • cApiCommunicationCollection
  • cApiContainer
  • cApiContainerCollection
  • cApiContainerConfiguration
  • cApiContainerConfigurationCollection
  • cApiContent
  • cApiContentCollection
  • cApiContentVersion
  • cApiContentVersionCollection
  • cApiDbfs
  • cApiDbfsCollection
  • cApiFile
  • cApiFileCollection
  • cApiFileInformation
  • cApiFileInformationCollection
  • cApiFrameFile
  • cApiFrameFileCollection
  • cApiFrontendGroup
  • cApiFrontendGroupCollection
  • cApiFrontendGroupMember
  • cApiFrontendGroupMemberCollection
  • cApiFrontendPermission
  • cApiFrontendPermissionCollection
  • cApiFrontendUser
  • cApiFrontendUserCollection
  • cApiGroup
  • cApiGroupCollection
  • cApiGroupMember
  • cApiGroupMemberCollection
  • cApiGroupProperty
  • cApiGroupPropertyCollection
  • cApiInUse
  • cApiInUseCollection
  • cApiIso3166
  • cApiIso3166Collection
  • cApiIso6392
  • cApiIso6392Collection
  • cApiKeyword
  • cApiKeywordCollection
  • cApiLanguage
  • cApiLanguageCollection
  • cApiLayout
  • cApiLayoutCollection
  • cApiMailLog
  • cApiMailLogCollection
  • cApiMailLogSuccess
  • cApiMailLogSuccessCollection
  • cApiMetaTag
  • cApiMetaTagCollection
  • cApiMetaTagVersion
  • cApiMetaTagVersionCollection
  • cApiMetaType
  • cApiMetaTypeCollection
  • cApiModule
  • cApiModuleCollection
  • cApiNavMain
  • cApiNavMainCollection
  • cApiNavSub
  • cApiNavSubCollection
  • cApiOnlineUser
  • cApiOnlineUserCollection
  • cApiPathresolveCache
  • cApiPathresolveCacheCollection
  • cApiProperty
  • cApiPropertyCollection
  • cApiRight
  • cApiRightCollection
  • cApiSearchTracking
  • cApiSearchTrackingCollection
  • cApiStat
  • cApiStatCollection
  • cApiSystemProperty
  • cApiSystemPropertyCollection
  • cApiTemplate
  • cApiTemplateCollection
  • cApiTemplateConfiguration
  • cApiTemplateConfigurationCollection
  • cApiType
  • cApiTypeCollection
  • cApiUpload
  • cApiUploadCollection
  • cApiUploadMeta
  • cApiUploadMetaCollection
  • cApiUser
  • cApiUserCollection
  • cApiUserPasswordRequest
  • cApiUserPasswordRequestCollection
  • cApiUserProperty
  • cApiUserPropertyCollection
  • NoteCollection
  • NoteItem
  • TODOCollection
  • TODOItem
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class cApiClientLanguage

Client item

cGenericDb
Extended by cItemBaseAbstract
Extended by Item
Extended by cApiClientLanguage
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
Methods summary
public
# __construct( boolean $iIdClientsLang = false, boolean $iIdClient = false, boolean $iIdLang = false )

Constructor to create an instance of this class.

Constructor to create an instance of this class.

Parameters

$iIdClientsLang
boolean
$iIdClientsLang [optional] If specified, load item
$iIdClient
boolean
$iIdClient [optional] If idclient and idlang specified, load item; ignored, if idclientslang specified
$iIdLang
boolean
$iIdLang [optional] If idclient and idlang specified, load item; ignored, if idclientslang specified

Throws

cDbException
cException

Overrides

Item::__construct()
public boolean
# loadByPrimaryKey( integer $iIdClientsLang )

Load dataset by primary key

Load dataset by primary key

Parameters

$iIdClientsLang
integer
$iIdClientsLang

Returns

boolean

Throws

cDbException
cException

Overrides

Item::loadByPrimaryKey()
public boolean
# setProperty( mixed $mType, mixed $mName, mixed $mValue, integer $client = 0 )

Set client property

Set client property

Parameters

$mType
mixed
$mType Type of the data to store (arbitary data)
$mName
mixed
$mName Entry name
$mValue
mixed
$mValue Value
$client
integer
$client [optional] Client id

Returns

boolean

Throws

cDbException
cException
cInvalidArgumentException

See

Item::setProperty()

Todo

Use parents method
should return return value as overwritten method

Overrides

Item::setProperty()
public mixed
# getProperty( mixed $mType, mixed $mName, integer $client = 0 )

Get client property

Get client property

Parameters

$mType
mixed
$mType Type of the data to get
$mName
mixed
$mName Entry name
$client
integer
$client [optional] Client id (not used, it's declared because of PHP strict warnings)

Returns

mixed
Value

Throws

cDbException
cException

Todo

Use parents method @see Item::getProperty()

Overrides

Item::getProperty()
public boolean
# deleteProperty( integer $idprop, integer $p2 = NULL, integer $client = 0 )

Delete client property

Delete client property

Parameters

$idprop
integer
$idprop Id of property
$p2
integer
$p2 Not used, is here to prevent PHP Strict warnings
$client
integer
$client [optional] Client id (not used, it's declared because of PHP strict warnings)

Returns

boolean

Throws

cDbException
cInvalidArgumentException

Todo

Use parents method @see Item::deleteProperty(), but be carefull, different parameter!

Overrides

Item::deleteProperty()
public array
# getPropertiesByType( mixed $mType )

Get client properties by type

Get client properties by type

Parameters

$mType
mixed
$mType Type of the data to get

Returns

array
Assoziative array

Throws

cDbException
cException
public array|false
# getProperties( )

Get all client properties

Get all client properties

Returns

array|false
array

Throws

cDbException
cException

Todo

return value should be the same as getPropertiesByType(), e.g. an empty array instead of false
protected cApiPropertyCollection
# _getPropertiesCollectionInstance( integer $client = 0 )

Lazy instantiation and return of properties object

Lazy instantiation and return of properties object

Parameters

$client
integer
$client [optional] Client id (not used, it's declared because of PHP strict warnings)

Returns

cApiPropertyCollection

Overrides

cItemBaseAbstract::_getPropertiesCollectionInstance()
public boolean
# setField( string $name, mixed $value, boolean $bSafe = true )

Userdefined setter for clients lang fields.

Userdefined setter for clients lang fields.

Parameters

$name
string
$name
$value
mixed
$value
$bSafe
boolean
$bSafe [optional] Flag to run defined inFilter on passed value

Returns

boolean

Overrides

Item::setField()
Methods inherited from Item
_inFilter(), _loadByWhereClause(), _onLoad(), _resetItem(), _setMetaObject(), deletePropertyById(), get(), getField(), getMetaObject(), loadBy(), loadByMany(), loadByRecordSet(), outFilter(), set(), setFilters(), store(), toArray(), toObject()
Methods inherited from cItemBaseAbstract
__get(), __set(), _getSecondDBInstance(), _setLoaded(), _setPrimaryKeyName(), escape(), getPrimaryKeyName(), isLoaded()
Methods inherited from cGenericDb
_executeCallbacks(), register(), unregister()
Constants inherited from cGenericDb
CREATE_BEFORE, CREATE_FAILURE, CREATE_SUCCESS, DELETE_BEFORE, DELETE_FAILURE, DELETE_SUCCESS, STORE_BEFORE, STORE_FAILURE, STORE_SUCCESS
Properties summary
public integer $idclient
#

Id of client

Id of client

protected cApiPropertyCollection $_oPropertyCollection
#

Property collection instance

Property collection instance

Properties inherited from Item
$_arrInFilters, $_arrOutFilters, $_lastSQL, $_metaObject, $modifiedValues, $oldPrimaryKey, $values
Properties inherited from cItemBaseAbstract
$_className, $_loaded, $_oCache, $_primaryKeyName, $_settings, $db, $lasterror, $properties, $secondDb, $table
CMS CONTENIDO 4.10.1 API documentation generated by ApiGen 2.8.0