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
  • 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 cApiGroup

Group item

cGenericDb
Extended by cItemBaseAbstract
Extended by Item
Extended by cApiGroup
Package: Core\GenericDB\Model
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Dominik Ziegler
Located at classes/contenido/class.group.php
Methods summary
public
# __construct( mixed $mId = false )

Constructor Function

Constructor Function

Parameters

$mId
mixed
$mId Specifies the ID of item to load

Throws

cInvalidArgumentException
If table name or primary key is not set

Overrides

Item::__construct()
public boolean
# loadGroupByGroupID( string $groupId )

Loads a group from the database by its groupId.

Loads a group from the database by its groupId.

Parameters

$groupId
string
$groupId Specifies the groupId

Returns

boolean
True if the load was successful
public boolean
# loadGroupByGroupname( string $groupname )

Loads a group entry by its groupname.

Loads a group entry by its groupname.

Parameters

$groupname
string
$groupname Specifies the groupname

Returns

boolean
True if the load was successful
public boolean
# setField( string $sField, string $mValue, boolean $bSafe = true )

User defined field value setter.

User defined field value setter.

Parameters

$sField
string
$sField Field name
$mValue
string
$mValue Value to set
$bSafe
boolean
$bSafe Flag to run defined inFilter on passed value

Returns

boolean

See

Item::setField()

Overrides

Item::setField()
public array
# getPermsArray( )

Returns list of group permissions.

Returns list of group permissions.

Returns

array
public Ambigous
# getGroupName( boolean $removePrefix = false )

Returns name of group.

Returns name of group.

Parameters

$removePrefix
boolean
$removePrefix Flag to remove "grp_" prefix from group name

Returns

Ambigous
<string, mixed, bool>
public static string
# getUnprefixedGroupName( string $groupname )

Returns name of a group cleaned from prefix "grp_".

Returns name of a group cleaned from prefix "grp_".

Parameters

$groupname
string
$groupname

Returns

string
public static string
# prefixedGroupName( string $groupname )

Returns the passed groupname prefixed with "grp_", if not exists.

Returns the passed groupname prefixed with "grp_", if not exists.

Parameters

$groupname
string
$groupname

Returns

string
public string
# getGroupProperty( string $type, string $name )

Returns group property by its type and name

Returns group property by its type and name

Parameters

$type
string
$type
$name
string
$name

Returns

string
bool value or false
public array
# getGroupProperties( )

Retrieves all available properties of the group.

Retrieves all available properties of the group.

Returns

array
Returns assoziative properties array as follows: - $arr[idgroupprop][name] - $arr[idgroupprop][type] - $arr[idgroupprop][value]
public cApiGroupProperty
# setGroupProperty( string $type, string $name, string $value )

Stores a property to the database.

Stores a property to the database.

Parameters

$type
string
$type Type (class, category etc) for the property to retrieve
$name
string
$name Name of the property to retrieve
$value
string
$value Value to insert

Returns

cApiGroupProperty
public boolean
# deleteGroupProperty( string $type, string $name )

Deletes a group property from the table.

Deletes a group property from the table.

Parameters

$type
string
$type Type (class, category etc) for the property to delete
$name
string
$name Name of the property to delete

Returns

boolean
Methods inherited from Item
_inFilter(), _loadByWhereClause(), _onLoad(), _outFilter(), _setMetaObject(), deleteProperty(), deletePropertyById(), get(), getField(), getMetaObject(), getProperty(), isLoaded(), loadBy(), loadByMany(), loadByPrimaryKey(), loadByRecordSet(), set(), setFilters(), setProperty(), store(), toArray(), toObject()
Methods inherited from cItemBaseAbstract
_getPropertiesCollectionInstance(), _getSecondDBInstance(), escape()
Methods inherited from cGenericDb
_executeCallbacks(), register(), unregister()
Constants summary
string PREFIX 'grp_'
#

Prefix to be used for group names.

Prefix to be used for group names.

Constants inherited from cGenericDb
CREATE_BEFORE, CREATE_FAILURE, CREATE_SUCCESS, DELETE_BEFORE, DELETE_FAILURE, DELETE_SUCCESS, STORE_BEFORE, STORE_FAILURE, STORE_SUCCESS
Properties inherited from Item
$_arrInFilters, $_arrOutFilters, $_lastSQL, $_metaObject, $modifiedValues, $oldPrimaryKey, $values
Properties inherited from cItemBaseAbstract
$_className, $_oCache, $_settings, $db, $lasterror, $primaryKey, $properties, $secondDb, $table, $virgin
CMS CONTENIDO 4.9.1 API documentation generated by ApiGen 2.8.0