eZPublishCommunityProject  2013.4
eZ\Publish\Core\REST\Client\Values\ContentType\ContentType Class Reference
+ Inheritance diagram for eZ\Publish\Core\REST\Client\Values\ContentType\ContentType:
+ Collaboration diagram for eZ\Publish\Core\REST\Client\Values\ContentType\ContentType:

Public Member Functions

 __construct (ContentTypeService $contentTypeService, array $data=array())
 
 __get ($property)
 Magic getter for retrieving convenience properties. More...
 
 __isset ($property)
 Magic isset for singaling existence of convenience properties. More...
 
 getContentTypeGroups ()
 This method returns the content type groups this content type is assigned to. More...
 
 getDescription ($languageCode)
 This method returns the name of the content type in the given language. More...
 
 getDescriptions ()
 This method returns the human readable description of the content type. More...
 
 getFieldDefinition ($fieldDefinitionIdentifier)
 This method returns the field definition for the given identifier. More...
 
 getFieldDefinitions ()
 This method returns the content type field definitions from this type. More...
 
 getName ($languageCode)
 This method returns the name of the content type in the given language. More...
 
 getNames ()
 This method returns the human readable name in all provided languages of the content type. More...
 
- Public Member Functions inherited from eZ\Publish\API\Repository\Values\ContentType\ContentType
 getContentTypeGroups ()
 This method returns the content type groups this content type is assigned to. More...
 
 getDescription ($languageCode)
 This method returns the name of the content type in the given language. More...
 
 getDescriptions ()
 This method returns the human readable description of the content type. More...
 
 getFieldDefinition ($fieldDefinitionIdentifier)
 This method returns the field definition for the given identifier. More...
 
 getFieldDefinitions ()
 This method returns the content type field definitions from this type. More...
 
 getName ($languageCode)
 This method returns the name of the content type in the given language. More...
 
 getNames ()
 This method returns the human readable name in all provided languages of the content type. More...
 
- Public Member Functions inherited from eZ\Publish\API\Repository\Values\ValueObject
 __construct (array $properties=array())
 Construct object optionally with a set of properties. More...
 
 __get ($property)
 Magic get function handling read to non public properties. More...
 
 __isset ($property)
 Magic isset function handling isset() to non public properties. More...
 
 __set ($property, $value)
 Magic set function handling writes to non public properties. More...
 
 __unset ($property)
 Magic unset function handling unset() to non public properties. More...
 
 attribute ($property)
 Internal function for Legacy template engine compatibility to get property value. More...
 
 attributes ()
 Internal function for Legacy template engine compatibility to get properties. More...
 
 hasAttribute ($property)
 Internal function for Legacy template engine compatibility to check existence of property. More...
 

Protected Attributes

 $contentTypeGroupListReference
 
 $contentTypeService
 
 $descriptions
 
 $fieldDefinitionListReference
 
 $names
 
- Protected Attributes inherited from eZ\Publish\API\Repository\Values\ContentType\ContentType
 $creationDate
 
 $creatorId
 
 $defaultAlwaysAvailable = true
 
 $defaultSortField
 
 $defaultSortOrder
 
 $id
 
 $identifier
 
 $isContainer
 
 $mainLanguageCode
 
 $modificationDate
 
 $modifierId
 
 $nameSchema
 
 $remoteId
 
 $status
 
 $urlAliasSchema
 

Additional Inherited Members

- Static Public Member Functions inherited from eZ\Publish\API\Repository\Values\ValueObject
static __set_state (array $array)
 Returns a new instance of this class with the data specified by $array. More...
 
- Public Attributes inherited from eZ\Publish\API\Repository\Values\ContentType\ContentType
const STATUS_DEFINED = 0
 
const STATUS_DRAFT = 1
 
const STATUS_MODIFIED = 2
 
- Protected Member Functions inherited from eZ\Publish\API\Repository\Values\ValueObject
 getProperties ($dynamicProperties=array())
 Function where list of properties are returned. More...
 

Constructor & Destructor Documentation

eZ\Publish\Core\REST\Client\Values\ContentType\ContentType::__construct ( ContentTypeService  $contentTypeService,
array  $data = array() 
)
Parameters
ContentTypeService$contentTypeService
array$data

Member Function Documentation

eZ\Publish\Core\REST\Client\Values\ContentType\ContentType::__get (   $property)

Magic getter for retrieving convenience properties.

Parameters
string$propertyThe name of the property to retrieve
Returns
mixed
eZ\Publish\Core\REST\Client\Values\ContentType\ContentType::__isset (   $property)

Magic isset for singaling existence of convenience properties.

Parameters
string$property
Returns
boolean
eZ\Publish\Core\REST\Client\Values\ContentType\ContentType::getContentTypeGroups ( )

This method returns the content type groups this content type is assigned to.

Returns
[]

Referenced by eZ\Publish\Core\REST\Client\Values\ContentType\ContentType\__get().

eZ\Publish\Core\REST\Client\Values\ContentType\ContentType::getDescription (   $languageCode)

This method returns the name of the content type in the given language.

Parameters
string$languageCode
Returns
string the description for the given language or null if none existis.
eZ\Publish\Core\REST\Client\Values\ContentType\ContentType::getDescriptions ( )

This method returns the human readable description of the content type.

The structure of this field is: array( 'eng' => '<description_eng>', 'de' => '<description_de>' );

Returns
string[]
eZ\Publish\Core\REST\Client\Values\ContentType\ContentType::getFieldDefinition (   $fieldDefinitionIdentifier)

This method returns the field definition for the given identifier.

Parameters
string$fieldDefinitionIdentifier
Returns
FieldDefinition
eZ\Publish\Core\REST\Client\Values\ContentType\ContentType::getFieldDefinitions ( )

This method returns the content type field definitions from this type.

Returns
[]

Referenced by eZ\Publish\Core\REST\Client\Values\ContentType\ContentType\getFieldDefinition().

eZ\Publish\Core\REST\Client\Values\ContentType\ContentType::getName (   $languageCode)

This method returns the name of the content type in the given language.

Parameters
string$languageCode
Returns
string the name for the given language or null if none existis.
eZ\Publish\Core\REST\Client\Values\ContentType\ContentType::getNames ( )

This method returns the human readable name in all provided languages of the content type.

The structure of the return value is: array( 'eng' => '<name_eng>', 'de' => '<name_de>' );

Returns
string[]

Member Data Documentation

eZ\Publish\Core\REST\Client\Values\ContentType\ContentType::$contentTypeGroupListReference
protected
eZ\Publish\Core\REST\Client\Values\ContentType\ContentType::$contentTypeService
protected
eZ\Publish\Core\REST\Client\Values\ContentType\ContentType::$descriptions
protected
eZ\Publish\Core\REST\Client\Values\ContentType\ContentType::$fieldDefinitionListReference
protected
eZ\Publish\Core\REST\Client\Values\ContentType\ContentType::$names
protected

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