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

Public Member Functions

 getDescription ($languageCode)
 This method returns the name of the field in the given language. More...
 
 getDescriptions ()
 This method returns the human readable description of the field. More...
 
 getFieldSettings ()
 This method returns settings for the field definition supported by the field type. More...
 
 getName ($languageCode)
 This method returns the name of the field in the given language. More...
 
 getNames ()
 This method returns the human readable name of this field in all provided languages of the content type. More...
 
 getValidatorConfiguration ()
 This method returns the validator configuration of this field definition supported by the field type. More...
 
- Public Member Functions inherited from eZ\Publish\API\Repository\Values\ContentType\FieldDefinition
 getDescription ($languageCode)
 This method returns the name of the field in the given language. More...
 
 getDescriptions ()
 This method returns the human readable description of the field. More...
 
 getFieldSettings ()
 This method returns settings for the field definition supported by the field type. More...
 
 getName ($languageCode)
 This method returns the name of the field in the given language. More...
 
 getNames ()
 This method returns the human readable name of this field in all provided languages of the content type. More...
 
 getValidatorConfiguration ()
 This method returns the validator configuration of this field definition supported by the field 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

 $descriptions
 
 $fieldSettings
 
 $names
 
 $validatorConfiguration
 
- Protected Attributes inherited from eZ\Publish\API\Repository\Values\ContentType\FieldDefinition
 $defaultValue
 
 $fieldGroup
 
 $fieldTypeIdentifier
 
 $id
 
 $identifier
 
 $isInfoCollector
 
 $isRequired
 
 $isSearchable
 
 $isTranslatable
 
 $position
 

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...
 
- Protected Member Functions inherited from eZ\Publish\API\Repository\Values\ValueObject
 getProperties ($dynamicProperties=array())
 Function where list of properties are returned. More...
 

Member Function Documentation

eZ\Publish\Core\Repository\Values\ContentType\FieldDefinition::getDescription (   $languageCode)

This method returns the name of the field in the given language.

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

This method returns the human readable description of the field.

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

Returns
string[]
eZ\Publish\Core\Repository\Values\ContentType\FieldDefinition::getFieldSettings ( )

This method returns settings for the field definition supported by the field type.

Returns
array
eZ\Publish\Core\Repository\Values\ContentType\FieldDefinition::getName (   $languageCode)

This method returns the name of the field in the given language.

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

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

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

Returns
string[]
eZ\Publish\Core\Repository\Values\ContentType\FieldDefinition::getValidatorConfiguration ( )

This method returns the validator configuration of this field definition supported by the field type.

Returns
mixed

Member Data Documentation

eZ\Publish\Core\Repository\Values\ContentType\FieldDefinition::$descriptions
protected
eZ\Publish\Core\Repository\Values\ContentType\FieldDefinition::$fieldSettings
protected
eZ\Publish\Core\Repository\Values\ContentType\FieldDefinition::$names
protected
eZ\Publish\Core\Repository\Values\ContentType\FieldDefinition::$validatorConfiguration
protected

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