eZPublishCommunityProject  2012.12
eZ\Publish\Core\REST\Server\Values\RestContentType Class Reference

REST Content type, as received by /content/types/<ID> More...

+ Inheritance diagram for eZ\Publish\Core\REST\Server\Values\RestContentType:
+ Collaboration diagram for eZ\Publish\Core\REST\Server\Values\RestContentType:

Public Member Functions

 __construct (ContentType $contentType, array $fieldDefinitions=null)
 Construct. More...
 

Public Attributes

 $contentType
 
 $fieldDefinitions
 

Detailed Description

REST Content type, as received by /content/types/<ID>

Might have a "FieldDefinitionList" embedded

Constructor & Destructor Documentation

eZ\Publish\Core\REST\Server\Values\RestContentType::__construct ( ContentType  $contentType,
array  $fieldDefinitions = null 
)

Construct.

Parameters
\eZ\Publish\API\Repository\Values\ContentType\ContentType$contentType
\eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[]$fieldDefinitions

Member Data Documentation

eZ\Publish\Core\REST\Server\Values\RestContentType::$contentType
eZ\Publish\Core\REST\Server\Values\RestContentType::$fieldDefinitions

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