eZPublishCommunityProject  2013.9
eZ\Publish\Core\SignalSlot\FieldTypeService Class Reference
+ Inheritance diagram for eZ\Publish\Core\SignalSlot\FieldTypeService:
+ Collaboration diagram for eZ\Publish\Core\SignalSlot\FieldTypeService:

Public Member Functions

 __construct (FieldTypeServiceInterface $service, SignalDispatcher $signalDispatcher)
 Constructor. More...
 
 buildFieldType ($identifier)
 Instantiates a FieldType object. More...
 
 getFieldType ($identifier)
 Returns the FieldType registered with the given identifier. More...
 
 getFieldTypes ()
 Returns a list of all field types. More...
 
 hasFieldType ($identifier)
 Returns if there is a FieldType registered under $identifier. More...
 

Protected Attributes

 $service
 
 $signalDispatcher
 

Constructor & Destructor Documentation

eZ\Publish\Core\SignalSlot\FieldTypeService::__construct ( FieldTypeServiceInterface  $service,
SignalDispatcher  $signalDispatcher 
)

Constructor.

Construct service object from aggregated service and signal dispatcher

Parameters
\eZ\Publish\API\Repository\FieldTypeService$service
\eZ\Publish\Core\SignalSlot\SignalDispatcher$signalDispatcher

Member Function Documentation

eZ\Publish\Core\Repository\FieldTypeService::buildFieldType (   $identifier)

Instantiates a FieldType object.

Todo:
Move this to a internal service provided to services that needs this (including this)

private This function is for internal use only.

Exceptions
\eZ\Publish\API\Repository\Exceptions\NotFoundExceptionIf $type not properly setup with settings injected to service
Parameters
string$identifier
Returns
Todo:
Move this to a internal service provided to services that needs this (including this)

private This function is for internal use only.

Exceptions
\eZ\Publish\API\Repository\Exceptions\NotFoundExceptionIf $type not properly setup with settings injected to service
Parameters
string$identifier
Returns
eZ\Publish\Core\SignalSlot\FieldTypeService::getFieldType (   $identifier)

Returns the FieldType registered with the given identifier.

Parameters
string$identifier
Returns
Exceptions
\eZ\Publish\API\Repository\Exceptions\NotFoundExceptionif there is no FieldType registered with $identifier

Implements eZ\Publish\API\Repository\FieldTypeService.

eZ\Publish\Core\SignalSlot\FieldTypeService::getFieldTypes ( )

Returns a list of all field types.

Returns
[]

Implements eZ\Publish\API\Repository\FieldTypeService.

eZ\Publish\Core\SignalSlot\FieldTypeService::hasFieldType (   $identifier)

Returns if there is a FieldType registered under $identifier.

Parameters
string$identifier
Returns
boolean

Implements eZ\Publish\API\Repository\FieldTypeService.

Member Data Documentation

eZ\Publish\Core\SignalSlot\FieldTypeService::$service
protected
eZ\Publish\Core\SignalSlot\FieldTypeService::$signalDispatcher
protected

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