eZPublish  3.9
eZCountryType Class Reference

A content datatype that contains country. More...

+ Inheritance diagram for eZCountryType:
+ Collaboration diagram for eZCountryType:

Public Member Functions

classAttributeContent (&$classAttribute)
 
 diff ($old, $new, $options=false)
 
 eZCountryType ()
 
 fetchClassAttributeHTTPInput (&$http, $base, &$classAttribute)
 
 fetchCollectionAttributeHTTPInput (&$collection, &$collectionAttribute, &$http, $base, &$contentObjectAttribute)
 
 fetchCountry ($value, $fetchBy=false)
 
 fetchCountryList ()
 
 fetchObjectAttributeHTTPInput (&$http, $base, &$contentObjectAttribute)
 
 fetchTranslatedNames (&$countries)
 
 fromString (&$contentObjectAttribute, $string)
 
 hasObjectAttributeContent (&$contentObjectAttribute)
 
 initializeObjectAttribute (&$contentObjectAttribute, $currentVersion, &$originalContentObjectAttribute)
 
 insertSimpleString (&$object, $objectVersion, $objectLanguage, &$objectAttribute, $string, &$result)
 
 isIndexable ()
 
 isInformationCollector ()
 
 isSimpleStringInsertionSupported ()
 
 metaData (&$contentObjectAttribute)
 
objectAttributeContent (&$contentObjectAttribute)
 
 preStoreClassAttribute (&$classAttribute, $version)
 
 sortKey (&$contentObjectAttribute)
 
 sortKeyType ()
 
 storeClassAttributeContent (&$classAttribute, $content)
 
 storeObjectAttribute (&$contentObjectAttribute)
 
 title (&$contentObjectAttribute)
 
 toString ($contentObjectAttribute)
 
 validateCollectionAttributeHTTPInput (&$http, $base, &$contentObjectAttribute)
 
 validateObjectAttributeHTTPInput (&$http, $base, &$contentObjectAttribute)
 
- Public Member Functions inherited from eZDataType
 allowedTypes ()
 
attribute ($attr)
 
 attributes ()
 
classAttributeContent (&$classAttribute)
 
 classAttributeRemovableInformation (&$classAttribute, $includeAll=true)
 
classDisplayInformation (&$classAttribute, $mergeInfo=false)
 
 cloneClassAttribute (&$oldClassAttribute, &$newClassAttribute)
 
 contentActionList (&$classAttribute)
 
 createContentObjectAttributeDOMNode ($objectAttribute)
 Create empty content object attribute DOM node. More...
 
 customClassAttributeHTTPAction (&$http, $action, &$classAttribute)
 
 customObjectAttributeHTTPAction (&$http, $action, &$objectAttribute)
 
 customSorting ()
 
 customSortingSQL ($params)
 
 deleteStoredClassAttribute (&$classAttribute, $version=null)
 
 deleteStoredObjectAttribute (&$objectAttribute, $version=null)
 
 diff ($old, $new, $options=false)
 
editTemplate (&$contentobjectAttribute)
 
 eZDataType ($dataTypeString, $name, $properties=array())
 
 fetchActionValue ($action, $actionName, &$value)
 
 fetchClassAttributeHTTPInput (&$http, $base, &$classAttribute)
 
 fetchCollectionAttributeHTTPInput (&$collection, &$collectionAttribute, &$http, $base, &$objectAttribute)
 
 fetchObjectAttributeHTTPInput (&$http, $base, &$objectAttribute)
 
 fixRelatedObjectItem (&$contentObjectAttribute, $objectID, $mode)
 
 fixupClassAttributeHTTPInput (&$http, $base, &$classAttribute)
 
 fixupCollectionAttributeHTTPInput (&$http, $base, &$objectAttribute)
 
 fixupObjectAttributeHTTPInput (&$http, $base, &$objectAttribute)
 
 fromString (&$objectAttribute, $string)
 
 handleCustomObjectHTTPActions (&$http, $attributeDataBaseName, $customActionAttributeArray, $customActionParameters)
 
 handleDownload (&$object, $objectVersion, $objectLanguage, &$objectAttribute)
 
 hasAttribute ($attr)
 
 hasInformationCollection ()
 
 hasObjectAttributeContent (&$contentObjectAttribute)
 
 hasStoredFileInformation (&$object, $objectVersion, $objectLanguage, &$objectAttribute)
 
informationTemplate (&$contentobjectAttribute)
 
 initializeClassAttribute (&$classAttribute)
 
 initializeObjectAttribute (&$objectAttribute, $currentVersion, &$originalContentObjectAttribute)
 
 insertHTTPFile (&$object, $objectVersion, $objectLanguage, &$objectAttribute, &$httpFile, $mimeData, &$result)
 
 insertRegularFile (&$object, $objectVersion, $objectLanguage, &$objectAttribute, $filePath, &$result)
 
 insertSimpleString (&$object, $objectVersion, $objectLanguage, &$objectAttribute, $string, &$result)
 
 isA ()
 
 isClassAttributeRemovable (&$classAttribute)
 
 isHTTPFileInsertionSupported ()
 
 isIndexable ()
 
 isInformationCollector ()
 
 isRegularFileInsertionSupported ()
 
 isSimpleStringInsertionSupported ()
 
 loadAndRegisterAllTypes ()
 
 loadAndRegisterType ($type)
 
 metaData ()
 
objectAttributeContent (&$objectAttribute)
 
 objectDisplayInformation (&$objectAttribute, $mergeInfo=false)
 
 onPublish (&$contentObjectAttribute, &$contentObject, &$publishedNodes)
 
 postInitializeObjectAttribute (&$objectAttribute, $currentVersion, &$originalContentObjectAttribute)
 
 postStore (&$objectAttribute)
 
 postUnserializeContentObjectAttribute (&$package, &$objectAttribute)
 
 preStoreClassAttribute (&$classAttribute, $version)
 
 preStoreDefinedClassAttribute (&$classAttribute)
 
 productOptionInformation (&$objectAttribute, $optionID, &$productItem)
 
 removeRelatedObjectItem (&$contentObjectAttribute, $objectID)
 
 repairContentObjectAttribute (&$contentObjectAttribute)
 
resultTemplate (&$collectionAttribute)
 
 serializeContentClassAttribute (&$classAttribute, &$attributeNode, &$attributeParametersNode)
 
 serializeContentObjectAttribute (&$package, &$objectAttribute)
 
 sortKey (&$objectAttribute)
 
 sortKeyType ()
 
 storeClassAttribute (&$classAttribute, $version)
 
 storeDefinedClassAttribute (&$classAttribute)
 
 storedFileInformation (&$object, $objectVersion, $objectLanguage, &$objectAttribute)
 
 storeObjectAttribute (&$objectAttribute)
 
 templateList ()
 
 title (&$objectAttribute, $name=null)
 
 toString ($objectAttribute)
 
 unserializeContentClassAttribute (&$classAttribute, &$attributeNode, &$attributeParametersNode)
 
 unserializeContentObjectAttribute (&$package, &$objectAttribute, $attributeNode)
 
 validateClassAttributeHTTPInput (&$http, $base, &$classAttribute)
 
 validateCollectionAttributeHTTPInput (&$http, $base, &$objectAttribute)
 
 validateObjectAttributeHTTPInput (&$http, $base, &$objectAttribute)
 
viewTemplate (&$contentobjectAttribute)
 

Additional Inherited Members

- Static Public Member Functions inherited from eZDataType
 create ($dataTypeString)
 
 register ($dataTypeString, $className)
 
registeredDataTypes ()
 

Detailed Description

A content datatype that contains country.

The list of countries is fetched from contenet.ini. Country is stored as text string.

Member Function Documentation

& eZCountryType::classAttributeContent ( $classAttribute)
eZCountryType::diff (   $old,
  $new,
  $options = false 
)
eZCountryType::eZCountryType ( )
eZCountryType::fetchClassAttributeHTTPInput ( $http,
  $base,
$classAttribute 
)
eZCountryType::fetchCollectionAttributeHTTPInput ( $collection,
$collectionAttribute,
$http,
  $base,
$contentObjectAttribute 
)

Fetches the http post variables for collected information

eZCountryType::fetchCountry (   $value,
  $fetchBy = false 
)

Fetches country by $fetchBy. if $fetchBy is false country name will be used.

Referenced by classAttributeContent(), fetchClassAttributeHTTPInput(), eZContentFunctionCollection\fetchCountryList(), fetchObjectAttributeHTTPInput(), and objectAttributeContent().

eZCountryType::fetchCountryList ( )
eZCountryType::fetchObjectAttributeHTTPInput ( $http,
  $base,
$contentObjectAttribute 
)

Fetches the http post var and stores it in the data instance.

eZCountryType::fetchTranslatedNames ( $countries)

Fetches translated country names from locale $countries will be updated.

Referenced by fetchCountryList().

eZCountryType::fromString ( $contentObjectAttribute,
  $string 
)
eZCountryType::hasObjectAttributeContent ( $contentObjectAttribute)
eZCountryType::initializeObjectAttribute ( $contentObjectAttribute,
  $currentVersion,
$originalContentObjectAttribute 
)

Sets the default value.

eZCountryType::insertSimpleString ( $object,
  $objectVersion,
  $objectLanguage,
$objectAttribute,
  $string,
$result 
)
eZCountryType::isIndexable ( )
eZCountryType::isInformationCollector ( )
eZCountryType::isSimpleStringInsertionSupported ( )

Simple string insertion is supported.

eZCountryType::metaData ( $contentObjectAttribute)

Returns the meta data used for storing search indeces.

& eZCountryType::objectAttributeContent ( $contentObjectAttribute)

Returns the content.

eZCountryType::preStoreClassAttribute ( $classAttribute,
  $version 
)
eZCountryType::sortKey ( $contentObjectAttribute)
eZCountryType::sortKeyType ( )
eZCountryType::storeClassAttributeContent ( $classAttribute,
  $content 
)

Referenced by preStoreClassAttribute().

eZCountryType::storeObjectAttribute ( $contentObjectAttribute)
eZCountryType::title ( $contentObjectAttribute)

Returns the country for use as a title

eZCountryType::toString (   $contentObjectAttribute)
Returns
string representation of an contentobjectattribute data for simplified export
eZCountryType::validateCollectionAttributeHTTPInput ( $http,
  $base,
$contentObjectAttribute 
)
eZCountryType::validateObjectAttributeHTTPInput ( $http,
  $base,
$contentObjectAttribute 
)

The documentation for this class was generated from the following file: