eZPublishCommunityProject  2013.4
eZ\Publish\Core\FieldType\FieldSettings Class Reference

Container for field type specific properties. More...

+ Inheritance diagram for eZ\Publish\Core\FieldType\FieldSettings:
+ Collaboration diagram for eZ\Publish\Core\FieldType\FieldSettings:

Public Member Functions

 offsetGet ($index)
 Returns value from internal array, identified by $index. More...
 
 offsetSet ($index, $value)
 Only allows existing indexes to be updated. More...
 

Detailed Description

Container for field type specific properties.

Member Function Documentation

eZ\Publish\Core\FieldType\FieldSettings::offsetGet (   $index)

Returns value from internal array, identified by $index.

Parameters
string$index
Exceptions
\eZ\Publish\API\Repository\Exceptions\PropertyNotFoundExceptionIf $index is not found
Returns
mixed
eZ\Publish\Core\FieldType\FieldSettings::offsetSet (   $index,
  $value 
)

Only allows existing indexes to be updated.

This is so that only settings specified by a field type can be set.

Exceptions
\eZ\Publish\API\Repository\Exceptions\PropertyReadOnlyExceptionOn non existing indexes
Parameters
string | int$index
mixed$value
Returns
void

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