Overview

Packages

  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Datatype
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • 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
  • cApiArticleSpecification
  • cApiArticleSpecificationCollection
  • cApiCategory
  • cApiCategoryArticle
  • cApiCategoryArticleCollection
  • cApiCategoryCollection
  • cApiCategoryLanguage
  • cApiCategoryLanguageCollection
  • cApiCategoryTree
  • cApiCategoryTreeCollection
  • cApiClient
  • cApiClientCollection
  • cApiClientLanguage
  • cApiClientLanguageCollection
  • cApiCommunication
  • cApiCommunicationCollection
  • cApiContainer
  • cApiContainerCollection
  • cApiContainerConfiguration
  • cApiContainerConfigurationCollection
  • cApiContent
  • cApiContentCollection
  • 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
  • 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
  • cApiUserProperty
  • cApiUserPropertyCollection
  • NoteCollection
  • NoteItem
  • TODOCollection
  • TODOItem
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class cApiSystemPropertyCollection

System property collection

The cApiSystemPropertyCollection class keeps also track of changed and deleted properties and synchronizes them with cached values, as long as you use the interface of cApiSystemPropertyCollection to manage the properties.

cGenericDb
Extended by cItemBaseAbstract
Extended by ItemCollection
Extended by cApiSystemPropertyCollection
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.system.property.php
Methods summary
public
# __construct( )

Constructor

Constructor

Throws

cInvalidArgumentException
If table name or primary key is not set

Overrides

ItemCollection::__construct()
public static
# reset( )

Resets the states of static properties.

Resets the states of static properties.

public cApiSystemProperty|null
# setTypeNameValueById( string $type, string $name, string $value, integer $id )

Updatess a existing system property entry by it's id.

Updatess a existing system property entry by it's id.

Parameters

$type
string
$type
$name
string
$name
$value
string
$value
$id
integer
$id

Returns

cApiSystemProperty|null
public cApiSystemProperty
# setValueByTypeName( string $type, string $name, string $value )

Updatess a existing system property entry or creates it.

Updatess a existing system property entry or creates it.

Parameters

$type
string
$type
$name
string
$name
$value
string
$value

Returns

cApiSystemProperty
public cApiSystemProperty
# create( string $type, string $name, string $value )

Creates a system property entry.

Creates a system property entry.

Parameters

$type
string
$type
$name
string
$name
$value
string
$value

Returns

cApiSystemProperty
public cApiSystemProperty[]
# fetchAll( string $orderBy = '' )

Returns all system properties.

Returns all system properties.

Parameters

$orderBy
string
$orderBy Order by clause like "value ASC"

Returns

cApiSystemProperty[]
public cApiSystemProperty
# fetchById( integer $id )

Returns system property by it's id.

Returns system property by it's id.

Parameters

$id
integer
$id

Returns

cApiSystemProperty
NULL

Overrides

ItemCollection::fetchById()
public cApiSystemProperty
# fetchByTypeName( string $type, string $name )

Returns all system properties by type and name.

Returns all system properties by type and name.

Parameters

$type
string
$type
$name
string
$name

Returns

cApiSystemProperty
NULL
public cApiSystemProperty[]
# fetchByType( string $type )

Returns all system properties by type.

Returns all system properties by type.

Parameters

$type
string
$type

Returns

cApiSystemProperty[]
public boolean
# deleteByTypeName( string $type, string $name )

Deletes system property by type and name.

Deletes system property by type and name.

Parameters

$type
string
$type
$name
string
$name

Returns

boolean
public boolean
# deleteByType( string $type )

Deletes system properties by type.

Deletes system properties by type.

Parameters

$type
string
$type

Returns

boolean
protected boolean
# _deleteSelected( )

Deletes selected system properties.

Deletes selected system properties.

Returns

boolean
protected
# _loadFromCache( )

Loads/Caches all system properties.

Loads/Caches all system properties.

protected
# _addToCache( cApiSystemProperty $entry )

Adds a entry to the cache.

Adds a entry to the cache.

Parameters

$entry
cApiSystemProperty
$entry
protected cApiSystemProperty[]
# _fetchAllFromCache( )

Fetches all entries from cache.

Fetches all entries from cache.

Returns

cApiSystemProperty[]
protected cApiSystemProperty|null
# _fetchByIdFromCache( integer $id )

Fetches entry by id from cache.

Fetches entry by id from cache.

Parameters

$id
integer
$id

Returns

cApiSystemProperty|null
protected cApiSystemProperty|null
# _fetchByTypeNameFromCache( string $type, string $name )

Fetches entry by type and name from cache.

Fetches entry by type and name from cache.

Parameters

$type
string
$type
$name
string
$name

Returns

cApiSystemProperty|null
protected cApiSystemProperty[]
# _fetchByTypeFromCache( string $type )

Fetches entries by type from cache.

Fetches entries by type from cache.

Parameters

$type
string
$type

Returns

cApiSystemProperty[]
protected
# _deleteFromCache( integer $id )

Removes a entry from cache.

Removes a entry from cache.

Parameters

$id
integer
$id
Methods inherited from ItemCollection
_buildGroupWhereStatements(), _buildWhereStatements(), _delete(), _deleteMultiple(), _fetchJoinTables(), _findReverseJoinPartner(), _initializeDriver(), _recursiveStructuredFetch(), _resolveLinks(), _setItemClass(), _setJoinPartner(), addResultField(), copyItem(), count(), createNewItem(), delete(), deleteBy(), deleteByWhereClause(), deleteWhere(), deleteWhereGroup(), exists(), fetchArray(), fetchObject(), fetchTable(), flexSelect(), getAllIds(), getFieldsByWhereClause(), getIdsByWhereClause(), link(), loadItem(), next(), query(), queryAndFetchStructured(), removeResultField(), resetQuery(), select(), setEncoding(), setGroupCondition(), setInnerGroupCondition(), setLimit(), setOrder(), setWhere(), setWhereGroup()
Methods inherited from cItemBaseAbstract
_getPropertiesCollectionInstance(), _getSecondDBInstance(), escape()
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
protected static array $_entries
#

List of cached entries

List of cached entries

protected static boolean $_enableCache
#

Flag to enable caching.

Flag to enable caching.

Properties inherited from ItemCollection
$_JoinPartners, $_aOperators, $_bAllMode, $_collectionCache, $_driver, $_encoding, $_forwardJoinPartners, $_groupConditions, $_innerGroupConditions, $_itemClass, $_itemClassInstance, $_iteratorItem, $_lastSQL, $_limitCount, $_limitStart, $_links, $_order, $_resultFields, $_where, $_whereRestriction, $objects
Properties inherited from cItemBaseAbstract
$_className, $_oCache, $_settings, $db, $lasterror, $primaryKey, $properties, $secondDb, $table, $virgin
CMS CONTENIDO 4.9.5 API documentation generated by ApiGen 2.8.0