Property | Type | Description | |
---|---|---|---|
$fieldTypeRegistry | |||
$fieldTypes | eZ\Publish\API\Repository\FieldType[] | Holds an array of FieldType objects to avoid re creating them all the time from SPI variants. |
Method | Description | |
---|---|---|
__construct ( |
Setups service with reference to repository object that created it & corresponding handler. | |
getFieldType ( string $identifier ) : eZ\Publish\API\Repository\FieldType | Returns the FieldType registered with the given identifier. | |
getFieldTypes ( ) : eZ\Publish\API\Repository\FieldType[] | Returns a list of all field types. | |
hasFieldType ( string $identifier ) : boolean | Returns if there is a FieldType registered under $identifier. |
public __construct ( |
||
$fieldTypeRegistry | Registry for SPI FieldTypes |
public getFieldType ( string $identifier ) : eZ\Publish\API\Repository\FieldType | ||
$identifier | string | |
return | eZ\Publish\API\Repository\FieldType |
public getFieldTypes ( ) : eZ\Publish\API\Repository\FieldType[] | ||
return | eZ\Publish\API\Repository\FieldType[] |
public hasFieldType ( string $identifier ) : boolean | ||
$identifier | string | |
return | boolean |
protected FieldTypeRegistry,eZ\Publish\Core\Repository\Helper $fieldTypeRegistry | ||
return |