|
eZ Publish
[trunk]
|
Handles eZ Publish content classes. More...
Inheritance diagram for eZContentClass:
Collaboration diagram for eZContentClass:Public Member Functions | |
| __clone () | |
| adjustAttributePlacements ($attributes) | |
| alwaysAvailableLanguage () | |
| alwaysAvailableLanguageLocale () | |
| buildContentObjectName ($contentObjectName, $dataMap, $tmpTags=false) | |
| canCreateLanguages () | |
| canInstantiateClasses () | |
| canInstantiateLanguages () | |
| clearAlwaysAvailableLanguageID () | |
| compareAttributes ($attr1, $attr2) | |
| contentObjectName (eZContentObject $contentObject, $version=false, $translation=false) | |
| Will generate a name for the content object based on the class settings for content object limited by self::CONTENT_OBJECT_NAME_MAX_LENGTH. | |
| creator () | |
| dataMap () | |
| description ($languageLocale=false) | |
| descriptionList () | |
| eZContentClass ($row) | |
| fetchAllGroups () | |
| fetchAttributeByIdentifier ($identifier, $asObject=true) | |
| fetchAttributes ($id=false, $asObject=true, $version=eZContentClass::VERSION_STATUS_DEFINED) | |
| fetchGroupIDList () | |
| fetchGroupList () | |
| fetchMatchGroupIDList () | |
| fetchSearchableAttributes ($id=false, $asObject=true, $version=eZContentClass::VERSION_STATUS_DEFINED) | |
| hasNameInLanguage ($languageLocale) | |
| inGroup ($groupID) | |
| initializeCopy (&$originalClass) | |
| instantiate ($userID=false, $sectionID=0, $versionNumber=false, $languageCode=false, $versionStatus=eZContentObjectVersion::STATUS_INTERNAL_DRAFT) | |
| instantiateIn ($lang, $userID=false, $sectionID=0, $versionNumber=false, $versionStatus=eZContentObjectVersion::STATUS_INTERNAL_DRAFT) | |
| isRemovable () | |
| languages () | |
| modifier () | |
| name ($languageLocale=false) | |
| nameList () | |
| objectCount () | |
| objectList () | |
| prioritizedLanguages () | |
| prioritizedLanguagesJsArray () | |
| remoteID () | |
| removableInformation ($includeAll=true) | |
| remove ($removeAttributes=false, $version=eZContentClass::VERSION_STATUS_DEFINED) | |
| removeAttributes ($removeAttributes=false, $version=false) | |
| removeTranslation ($languageID) | |
| setAlwaysAvailableLanguageID ($languageID, $updateChilds=true) | |
| setCanInstantiateLanguages ($languageCodes) | |
| setDescription ($description, $languageLocale=false) | |
| setName ($name, $languageLocale=false) | |
| setVersion ($version, $set_childs=false) | |
| store ($store_childs=false, $fieldFilters=null) | |
| storeDefined ($attributes) | |
| Stores the current class as a defined version, updates the contentobject_name attribute and recreates the class group entries. | |
| storeVersioned ($attributes, $version) | |
| Stores the current class as a modified version, updates the contentobject_name attribute and recreates the class group entries. | |
| sync ($fieldFilters=null) | |
| Makes sure data is stored if the data is considered dirty. | |
| topPriorityLanguageLocale () | |
| urlAliasName (eZContentObject $contentObject, $version=false, $translation=false) | |
| Will generate a name for the url alias based on the class settings for content object limited by site.ini\[URLTranslator]. | |
| versionCount () | |
| versionStatus () | |
Static Public Member Functions | |
| static | canInstantiateClassList ($asObject=false, $includeFilter=true, $groupList=false, $fetchID=false) |
| static | classIDByIdentifier ($identifier) |
| Resolves the string class identifier $identifier to its numeric value Use eZContentObjectTreeNode::classIDByIdentifier() for < 4.1. | |
| static | classIdentifierByID ($id) |
| Resolves the numeric class identifier $id to its string value. | |
| static | create ($userID=false, $optionalValues=array(), $languageLocale=false) |
| static | definition () |
| Returns the definition for the object, the default implementation is to return an empty array. | |
| static | descriptionFromSerializedString ($serializedNameList) |
| static | exists ($id, $version=eZContentClass::VERSION_STATUS_DEFINED, $userID=false, $useIdentifier=false) |
| static | expireCache () |
| Expires in-memory cache for eZContentClass. | |
| static | fetch ($id, $asObject=true, $version=eZContentClass::VERSION_STATUS_DEFINED, $user_id=false, $parent_id=null) |
| static | fetchAllClasses ($asObject=true, $includeFilter=true, $groupList=false) |
| static | fetchByIdentifier ($identifier, $asObject=true, $version=eZContentClass::VERSION_STATUS_DEFINED, $user_id=false, $parent_id=null) |
| static | fetchByRemoteID ($remoteID, $asObject=true, $version=eZContentClass::VERSION_STATUS_DEFINED, $user_id=false, $parent_id=null) |
| static | fetchIDListContainingDatatype ($dataTypeString) |
| static | fetchList ($version=eZContentClass::VERSION_STATUS_DEFINED, $asObject=true, $user_id=false, $sorts=null, $fields=null, $classFilter=false, $limit=null) |
| static | nameFromSerializedString ($serializedNameList) |
| static | removeTemporary () |
| static | versionHistoryLimit ($class) |
| Computes the version history limit for a content class. | |
Public Attributes | |
| $AllGroups | |
| $CanInstantiateLanguages | |
| $ContentObjectName | |
| $Created | |
| $CreatorID | |
| $DescriptionList | |
| $ID | |
| $Identifier | |
| $InGroups | |
| $IsContainer | |
| $LanguageMask | |
| $Modified | |
| $ModifierID | |
| $NameList | |
| $SerializedNameList | |
| $Version | |
| $VersionCount | |
| const | CONTENT_OBJECT_NAME_MAX_LENGTH = 255 |
| const | VERSION_STATUS_DEFINED = 0 |
| const | VERSION_STATUS_MODIFIED = 2 |
| const | VERSION_STATUS_TEMPORARY = 1 |
Static Protected Member Functions | |
| static | classIdentifiersHash () |
| Returns the class identifier hash for the current database. | |
Static Private Attributes | |
| static | $identifierHash = null |
| In-memory cache for class identifiers / id matching. | |
Handles eZ Publish content classes.
Definition at line 19 of file ezcontentclass.php.
Definition at line 172 of file ezcontentclass.php.
| eZContentClass::adjustAttributePlacements | ( | $ | attributes | ) |
Definition at line 874 of file ezcontentclass.php.
Referenced by storeVersioned().
Wrapper for eZContentClassNameList::alwaysAvailableLanguage.
Definition at line 1689 of file ezcontentclass.php.
Wrapper for eZContentClassNameList::alwaysAvailableLanguageLocale.
Definition at line 1699 of file ezcontentclass.php.
| eZContentClass::buildContentObjectName | ( | $ | contentObjectName, |
| $ | dataMap, | ||
| $ | tmpTags = false |
||
| ) |
Generates a name for the content object based on the content object name pattern and data map of an object.
Definition at line 1424 of file ezcontentclass.php.
Wrapper for eZContentClassNameList::untranslatedLanguages.
Definition at line 1671 of file ezcontentclass.php.
Definition at line 347 of file ezcontentclass.php.
Referenced by eZContentFunctionCollection\canInstantiateClasses().
| static eZContentClass::canInstantiateClassList | ( | $ | asObject = false, |
| $ | includeFilter = true, |
||
| $ | groupList = false, |
||
| $ | fetchID = false |
||
| ) | [static] |
Finds all classes that the current user can create objects from and returns. It is also possible to filter the list event more with $includeFilter and $groupList.
| $asObject | If true then it return eZContentClass objects, if not it will be an associative array with name and id keys. |
| $includeFilter | If true then it will include only from class groups defined in $groupList, if not it will exclude those groups. |
| $groupList | An array with class group IDs that should be used in filtering, use false if you do not wish to filter at all. |
| $fetchID | A unique name for the current fetch, this must be supplied when filtering is used if you want caching to work. |
Definition at line 377 of file ezcontentclass.php.
Referenced by eZContentObjectTreeNode\getClassesJsArray().
Definition at line 1491 of file ezcontentclass.php.
| static eZContentClass::classIDByIdentifier | ( | $ | identifier | ) | [static] |
Resolves the string class identifier $identifier to its numeric value Use eZContentObjectTreeNode::classIDByIdentifier() for < 4.1.
If multiple classes have the same identifier, the first found is returned.
| string | array | $identifier | identifier string or array of identifiers (array support added in 4.1.1) |
Definition at line 1769 of file ezcontentclass.php.
Referenced by versionHistoryLimit().
| static eZContentClass::classIdentifierByID | ( | $ | id | ) | [static] |
Resolves the numeric class identifier $id to its string value.
Definition at line 1798 of file ezcontentclass.php.
Referenced by eZContentObject\contentClassIdentifier(), and versionHistoryLimit().
| static eZContentClass::classIdentifiersHash | ( | ) | [static, protected] |
Returns the class identifier hash for the current database.
If it is outdated or non-existent, the method updates/generates the file
Definition at line 1817 of file ezcontentclass.php.
Referenced by classIDByIdentifier().
Definition at line 1642 of file ezcontentclass.php.
| eZContentClass::compareAttributes | ( | $ | attr1, |
| $ | attr2 | ||
| ) |
Definition at line 869 of file ezcontentclass.php.
| eZContentClass::contentObjectName | ( | eZContentObject $ | contentObject, |
| $ | version = false, |
||
| $ | translation = false |
||
| ) |
Will generate a name for the content object based on the class settings for content object limited by self::CONTENT_OBJECT_NAME_MAX_LENGTH.
| eZContentObject | $contentObject | |
| int | false | $version | |
| string | false | $translation |
Definition at line 1376 of file ezcontentclass.php.
| static eZContentClass::create | ( | $ | userID = false, |
| $ | optionalValues = array(), |
||
| $ | languageLocale = false |
||
| ) | [static] |
Creates an 'eZContentClass' object.
To specify contentclass name use either $optionalValues['serialized_name_list'] or combination of $optionalValues['name'] and/or $languageLocale.
In case of conflict(when both 'serialized_name_list' and 'name' with/without $languageLocale are specified) 'serialized_name_list' has top priority. This means that 'name' and $languageLocale will be ingnored because 'serialized_name_list' already has all needed info about names and languages.
If 'name' is specified then the contentclass will have a name in $languageLocale(if specified) or in default language.
If neither of 'serialized_name_list' or 'name' isn't specified then the contentclass will have an empty name in 'languageLocale'(if specified) or in default language.
'language_mask' and 'initial_language_id' attributes will be set according to specified(either in 'serialized_name_list' or by $languageLocale) languages.
Definition at line 205 of file ezcontentclass.php.
Referenced by eZContentClassPackageHandler\install(), and instantiate().
Definition at line 587 of file ezcontentclass.php.
Returns all attributes as an associative array with the key taken from the attribute identifier.
Definition at line 1286 of file ezcontentclass.php.
| static eZContentClass::definition | ( | ) | [static] |
Returns the definition for the object, the default implementation is to return an empty array.
It's upto each inheriting class to return a proper definition array.
The definition array is an associative array consists of these keys:
Example: public static function definition() { return array( "fields" => array( "id" => "ID", "version" => "Version", "name" => "Name" ), "keys" => array( "id", "version" ), "function_attributes" => array( "current" => "currentVersion", "class_name" => "className" ), "increment_key" => "id", "class_name" => "eZContentClass", "sort" => array( "id" => "asc" ), "name" => "ezcontentclass" ); }
Reimplemented from eZPersistentObject.
Definition at line 57 of file ezcontentclass.php.
Referenced by create(), exists(), fetch(), fetchByIdentifier(), fetchByRemoteID(), and fetchList().
| eZContentClass::description | ( | $ | languageLocale = false | ) |
Returns a contentclass description in $languageLocale language. Uses siteaccess language list or 'always available' language if $languageLocale is 'false'.
Definition at line 1565 of file ezcontentclass.php.
| static eZContentClass::descriptionFromSerializedString | ( | $ | serializedNameList | ) | [static] |
Returns a contentclass description from serialized array $serializedNameList using top language from siteaccess language list or 'always available' name from $serializedNameList.
Definition at line 1521 of file ezcontentclass.php.
Definition at line 1575 of file ezcontentclass.php.
| static eZContentClass::exists | ( | $ | id, |
| $ | version = eZContentClass::VERSION_STATUS_DEFINED, |
||
| $ | userID = false, |
||
| $ | useIdentifier = false |
||
| ) | [static] |
Definition at line 1071 of file ezcontentclass.php.
Referenced by eZContentClassPackageHandler\handleParameters().
| static eZContentClass::expireCache | ( | ) | [static] |
Expires in-memory cache for eZContentClass.
Clears cache for fetched eZContentClass objects, class identifiers and class attributes.
Definition at line 1892 of file ezcontentclass.php.
Referenced by eZCache\clearClassID(), and store().
| eZContentClass::eZContentClass | ( | $ | row | ) |
Definition at line 31 of file ezcontentclass.php.
Referenced by create(), fetch(), fetchByIdentifier(), and fetchByRemoteID().
| static eZContentClass::fetch | ( | $ | id, |
| $ | asObject = true, |
||
| $ | version = eZContentClass::VERSION_STATUS_DEFINED, |
||
| $ | user_id = false, |
||
| $ | parent_id = null |
||
| ) | [static] |
Definition at line 1095 of file ezcontentclass.php.
Referenced by eZISBN10To13Converter\addClass(), eZContentClassPackageHandler\addClass(), eZSiteInstaller\addClassAttributes(), checkRelationActions(), eZObjectRelationListType\createNewObject(), creator(), eZObjectRelationListType\customObjectAttributeHTTPAction(), eZISBN10To13Converter\execute(), eZContentFunctionCollection\fetchClass(), eZClassFunctionCollection\fetchClassAttributeList(), eZContentFunctionCollection\fetchClassAttributeList(), eZTemplateOptimizer\fetchClassDeclaration(), eZClassFunctionCollection\fetchOverrideTemplateList(), eZContentObjectPackageHandler\generateFetchAliasArray(), generateObjectViewTemplate(), eZContentClassPackageCreator\generatePackageInformation(), eZContentClassPackageHandler\handleParameters(), importRSSItem(), modifier(), eZContentClassOperations\remove(), eZClassFunctions\removeGroup(), removeTranslation(), setAlwaysAvailableLanguageID(), eZContentOperationCollection\setObjectStatusPublished(), and eZRSSEditFunction\storeRSSExport().
| static eZContentClass::fetchAllClasses | ( | $ | asObject = true, |
| $ | includeFilter = true, |
||
| $ | groupList = false |
||
| ) | [static] |
Finds all Classes in the system and returns them.
Definition at line 661 of file ezcontentclass.php.
Referenced by eZContentObjectTreeNode\availableClassListJsArray().
Finds all Class groups in the system and returns them.
Definition at line 698 of file ezcontentclass.php.
| eZContentClass::fetchAttributeByIdentifier | ( | $ | identifier, |
| $ | asObject = true |
||
| ) |
Fetch class attribute by identifier, return null if none exist.
| attribute | identifier. |
Definition at line 1319 of file ezcontentclass.php.
| eZContentClass::fetchAttributes | ( | $ | id = false, |
| $ | asObject = true, |
||
| $ | version = eZContentClass::VERSION_STATUS_DEFINED |
||
| ) |
Definition at line 1299 of file ezcontentclass.php.
Referenced by dataMap(), instantiate(), removableInformation(), removeAttributes(), removeTranslation(), setAlwaysAvailableLanguageID(), setVersion(), eZContentClassEditHandler\store(), and store().
| static eZContentClass::fetchByIdentifier | ( | $ | identifier, |
| $ | asObject = true, |
||
| $ | version = eZContentClass::VERSION_STATUS_DEFINED, |
||
| $ | user_id = false, |
||
| $ | parent_id = null |
||
| ) | [static] |
Definition at line 1182 of file ezcontentclass.php.
Referenced by eZContentFunctionCollection\checkAccess(), eZSiteInstaller\classByIdentifier(), eZContentFunctions\createAndPublishObject(), eZContentFunctionCollection\fetchClass(), generateNodeViewTemplate(), eZContentUpload\handleLocalFile(), eZContentUpload\handleUpload(), eZStepCreateSites\initializePackage(), eZContentClassPackageHandler\install(), and eZContentObject\unserialize().
| static eZContentClass::fetchByRemoteID | ( | $ | remoteID, |
| $ | asObject = true, |
||
| $ | version = eZContentClass::VERSION_STATUS_DEFINED, |
||
| $ | user_id = false, |
||
| $ | parent_id = null |
||
| ) | [static] |
Definition at line 1149 of file ezcontentclass.php.
Referenced by eZContentClassPackageHandler\install(), eZContentObjectPackageHandler\installFetchAliases(), eZContentObjectPackageHandler\installOverrides(), and eZContentClassPackageHandler\uninstall().
Find all groups the current class is placed in and returns a list of group IDs.
Definition at line 626 of file ezcontentclass.php.
Find all groups the current class is placed in and returns a list of group objects.
Definition at line 613 of file ezcontentclass.php.
Referenced by fetchGroupIDList().
| static eZContentClass::fetchIDListContainingDatatype | ( | $ | dataTypeString | ) | [static] |
Returns an array of IDs of classes containing a specified datatype
| $dataTypeString | a datatype identification string |
Definition at line 1868 of file ezcontentclass.php.
Referenced by eZUser\contentClassIDs().
| static eZContentClass::fetchList | ( | $ | version = eZContentClass::VERSION_STATUS_DEFINED, |
| $ | asObject = true, |
||
| $ | user_id = false, |
||
| $ | sorts = null, |
||
| $ | fields = null, |
||
| $ | classFilter = false, |
||
| $ | limit = null |
||
| ) | [static] |
Definition at line 1217 of file ezcontentclass.php.
Referenced by eZWaitUntilDateType\attribute(), eZMultiplexerType\attribute(), eZUser\canAssignSectionToClassList(), fetchAllGroups(), eZClassFunctionCollection\fetchClassList(), eZClassFunctionCollection\fetchClassListByGroups(), eZClassFunctionCollection\fetchLatestClassList(), eZStepCreateSites\initializePackage(), eZShopFunctions\productClassList(), and removeTemporary().
Returns the result from fetchGroupIDList() if class group overrides is enabled in content.ini.
false if disabled. EnableClassGroupOverride in group ContentOverrideSettings from INI file content.ini controls this behaviour. Definition at line 646 of file ezcontentclass.php.
| eZContentClass::fetchSearchableAttributes | ( | $ | id = false, |
| $ | asObject = true, |
||
| $ | version = eZContentClass::VERSION_STATUS_DEFINED |
||
| ) |
Definition at line 1331 of file ezcontentclass.php.
| eZContentClass::hasNameInLanguage | ( | $ | languageLocale | ) |
Definition at line 1526 of file ezcontentclass.php.
| eZContentClass::inGroup | ( | $ | groupID | ) |
Definition at line 707 of file ezcontentclass.php.
| eZContentClass::initializeCopy | ( | &$ | originalClass | ) |
Initializes this class as a copy of $originalClass by creating new a new name and identifier. It will check if there are other classes already with this name in which case it will append a unique number to the name and identifier.
Definition at line 940 of file ezcontentclass.php.
| eZContentClass::instantiate | ( | $ | userID = false, |
| $ | sectionID = 0, |
||
| $ | versionNumber = false, |
||
| $ | languageCode = false, |
||
| $ | versionStatus = eZContentObjectVersion::STATUS_INTERNAL_DRAFT |
||
| ) |
Creates a new content object instance and stores it.
| userID | user ID (optional), current user if not set (also store object id in session if $userID = false) |
| sectionID | section ID (optional), 0 if not set |
| versionNumber | version number, create initial version if not set |
Definition at line 274 of file ezcontentclass.php.
Referenced by instantiateIn().
| eZContentClass::instantiateIn | ( | $ | lang, |
| $ | userID = false, |
||
| $ | sectionID = 0, |
||
| $ | versionNumber = false, |
||
| $ | versionStatus = eZContentObjectVersion::STATUS_INTERNAL_DRAFT |
||
| ) |
Definition at line 260 of file ezcontentclass.php.
Checks if the class can be removed and returns true if it can, false otherwise.
Definition at line 772 of file ezcontentclass.php.
Referenced by remove().
Wrapper for eZContentClassNameList::languages.
Definition at line 1650 of file ezcontentclass.php.
Definition at line 599 of file ezcontentclass.php.
| eZContentClass::name | ( | $ | languageLocale = false | ) |
Returns a contentclass name in $languageLocale language. Uses siteaccess language list or 'always available' language if $languageLocale is 'false'.
Definition at line 1538 of file ezcontentclass.php.
Referenced by instantiate().
| static eZContentClass::nameFromSerializedString | ( | $ | serializedNameList | ) | [static] |
Returns a contentclass name from serialized array $serializedNameList using top language from siteaccess language list or 'always available' name from $serializedNameList.
Definition at line 1508 of file ezcontentclass.php.
Referenced by eZContentObject\className(), eZContentStructureTreeOperator\createContentStructureNode(), descriptionFromSerializedString(), eZContentObject\eZContentObject(), eZContentObject\fetchIDArray(), eZContentObjectTreeNode\makeObjectsArray(), and eZContentObject\relatedObjects().
Definition at line 1554 of file ezcontentclass.php.
Definition at line 1464 of file ezcontentclass.php.
Definition at line 1477 of file ezcontentclass.php.
Wrapper for eZContentClassNameList::prioritizedLanguages.
Definition at line 1658 of file ezcontentclass.php.
Definition at line 1663 of file ezcontentclass.php.
Get remote id of content node
Definition at line 737 of file ezcontentclass.php.
| eZContentClass::removableInformation | ( | $ | includeAll = true | ) |
Returns information on why the class cannot be removed, it does the same checks as in isRemovable() but generates some text in the return array.
| $includeAll | Controls whether the returned information will contain all sources for not being to remove or just the first that it finds. |
Definition at line 790 of file ezcontentclass.php.
Referenced by isRemovable().
| eZContentClass::remove | ( | $ | removeAttributes = false, |
| $ | version = eZContentClass::VERSION_STATUS_DEFINED |
||
| ) |
Reimplemented from eZPersistentObject.
Definition at line 755 of file ezcontentclass.php.
| eZContentClass::removeAttributes | ( | $ | removeAttributes = false, |
| $ | version = false |
||
| ) |
| removeAttributes | Array of attributes to remove |
| version | Version to remove( optional ) |
Definition at line 833 of file ezcontentclass.php.
Referenced by remove(), and storeVersioned().
| static eZContentClass::removeTemporary | ( | ) | [static] |
Will remove all temporary classes from the database.
Definition at line 718 of file ezcontentclass.php.
| eZContentClass::removeTranslation | ( | $ | languageID | ) |
Removes translated name for specified by $languageID language.
Definition at line 1708 of file ezcontentclass.php.
| eZContentClass::setAlwaysAvailableLanguageID | ( | $ | languageID, |
| $ | updateChilds = true |
||
| ) |
Definition at line 1580 of file ezcontentclass.php.
Referenced by clearAlwaysAvailableLanguageID().
| eZContentClass::setCanInstantiateLanguages | ( | $ | languageCodes | ) |
Definition at line 1486 of file ezcontentclass.php.
| eZContentClass::setDescription | ( | $ | description, |
| $ | languageLocale = false |
||
| ) |
Definition at line 1570 of file ezcontentclass.php.
| eZContentClass::setName | ( | $ | name, |
| $ | languageLocale = false |
||
| ) |
Definition at line 1543 of file ezcontentclass.php.
Referenced by initializeCopy().
| eZContentClass::setVersion | ( | $ | version, |
| $ | set_childs = false |
||
| ) |
Definition at line 1047 of file ezcontentclass.php.
Referenced by storeVersioned().
| eZContentClass::store | ( | $ | store_childs = false, |
| $ | fieldFilters = null |
||
| ) |
Definition at line 886 of file ezcontentclass.php.
Referenced by removeTranslation(), setAlwaysAvailableLanguageID(), storeVersioned(), and sync().
| eZContentClass::storeDefined | ( | $ | attributes | ) |
Stores the current class as a defined version, updates the contentobject_name attribute and recreates the class group entries.
| array | $attributes | array of attributes of the content class |
Definition at line 971 of file ezcontentclass.php.
Referenced by eZContentClassEditHandler\store().
| eZContentClass::storeVersioned | ( | $ | attributes, |
| $ | version | ||
| ) |
Stores the current class as a modified version, updates the contentobject_name attribute and recreates the class group entries.
| array | $attributes | array of attributes |
| int | $version | version status |
Definition at line 986 of file ezcontentclass.php.
Referenced by storeDefined().
| eZContentClass::sync | ( | $ | fieldFilters = null | ) |
Makes sure data is stored if the data is considered dirty.
Note: Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.
| array | null | $fieldFilters |
Reimplemented from eZPersistentObject.
Definition at line 928 of file ezcontentclass.php.
Referenced by remoteID().
Wrapper for eZContentClassNameList::topPriorityLanguageLocale.
Definition at line 1679 of file ezcontentclass.php.
Referenced by setName().
| eZContentClass::urlAliasName | ( | eZContentObject $ | contentObject, |
| $ | version = false, |
||
| $ | translation = false |
||
| ) |
Will generate a name for the url alias based on the class settings for content object limited by site.ini\[URLTranslator].
| eZContentObject | $contentObject | |
| int | false | $version | |
| string | false | $translation |
Definition at line 1402 of file ezcontentclass.php.
Definition at line 1362 of file ezcontentclass.php.
| static eZContentClass::versionHistoryLimit | ( | $ | class | ) | [static] |
Computes the version history limit for a content class.
| mixed | $class | Content class ID, content class identifier or content class object |
Definition at line 1907 of file ezcontentclass.php.
Referenced by eZContentObject\createNewVersion().
Definition at line 1344 of file ezcontentclass.php.
| eZContentClass::$AllGroups |
Definition at line 1996 of file ezcontentclass.php.
| eZContentClass::$CanInstantiateLanguages |
Definition at line 1998 of file ezcontentclass.php.
| eZContentClass::$ContentObjectName |
Definition at line 1988 of file ezcontentclass.php.
| eZContentClass::$Created |
Definition at line 1993 of file ezcontentclass.php.
| eZContentClass::$CreatorID |
Definition at line 1991 of file ezcontentclass.php.
| eZContentClass::$DescriptionList |
Definition at line 1986 of file ezcontentclass.php.
| eZContentClass::$ID |
Definition at line 1980 of file ezcontentclass.php.
| eZContentClass::$Identifier |
Definition at line 1987 of file ezcontentclass.php.
eZContentClass::$identifierHash = null [static, private] |
In-memory cache for class identifiers / id matching.
Definition at line 2004 of file ezcontentclass.php.
Referenced by classIDByIdentifier(), classIdentifierByID(), and classIdentifiersHash().
| eZContentClass::$InGroups |
Definition at line 1995 of file ezcontentclass.php.
| eZContentClass::$IsContainer |
Definition at line 1997 of file ezcontentclass.php.
| eZContentClass::$LanguageMask |
Definition at line 1999 of file ezcontentclass.php.
| eZContentClass::$Modified |
Definition at line 1994 of file ezcontentclass.php.
| eZContentClass::$ModifierID |
Definition at line 1992 of file ezcontentclass.php.
| eZContentClass::$NameList |
Definition at line 1984 of file ezcontentclass.php.
| eZContentClass::$SerializedNameList |
Definition at line 1982 of file ezcontentclass.php.
| eZContentClass::$Version |
Definition at line 1989 of file ezcontentclass.php.
| eZContentClass::$VersionCount |
Definition at line 1990 of file ezcontentclass.php.
| const eZContentClass::CONTENT_OBJECT_NAME_MAX_LENGTH = 255 |
Definition at line 29 of file ezcontentclass.php.
Referenced by contentObjectName().
| const eZContentClass::VERSION_STATUS_DEFINED = 0 |
Definition at line 21 of file ezcontentclass.php.
Referenced by eZSiteInstaller\addClassAttributes(), eZWaitUntilDateType\attribute(), eZMultiplexerType\attribute(), eZUser\canAssignSectionToClassList(), eZContentObject\canCreateClassList(), eZContentObjectTreeNode\canCreateClassList(), canInstantiateClassList(), exists(), fetch(), fetchAllClasses(), eZContentObject\fetchAttributesByIdentifier(), fetchByIdentifier(), fetchByRemoteID(), eZClassFunctionCollection\fetchClassListByGroups(), fetchIDListContainingDatatype(), eZUser\fetchUserClassList(), eZUser\fetchUserGroupClassNames(), eZDataType\preStoreVersionedClassAttribute(), eZCache\purgeImageAlias(), remoteID(), remove(), eZClassFunctions\removeGroup(), eZContentClassEditHandler\store(), eZContentClassAttribute\storeDefined(), eZEnumType\storeDefinedClassAttribute(), eZDataType\storeVersionedClassAttribute(), and versionStatus().
| const eZContentClass::VERSION_STATUS_MODIFIED = 2 |
Definition at line 23 of file ezcontentclass.php.
Referenced by eZDataType\preStoreVersionedClassAttribute(), eZEnumType\storeModifiedClassAttribute(), eZDataType\storeVersionedClassAttribute(), and versionStatus().
| const eZContentClass::VERSION_STATUS_TEMPORARY = 1 |
Definition at line 22 of file ezcontentclass.php.
Referenced by eZContentClassAttribute\create(), removeTemporary(), and versionStatus().