Свойство | Тип | Описание | |
---|---|---|---|
$fieldTypeRegistry | |||
$fieldTypes | eZ\Publish\API\Repository\FieldType[] | Holds an array of FieldType objects to avoid re creating them all the time from SPI variants. |
Метод | Описание | |
---|---|---|
__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 | |
Результат | eZ\Publish\API\Repository\FieldType |
public getFieldTypes ( ) : eZ\Publish\API\Repository\FieldType[] | ||
Результат | eZ\Publish\API\Repository\FieldType[] |
public hasFieldType ( string $identifier ) : boolean | ||
$identifier | string | |
Результат | boolean |
protected FieldTypeRegistry,eZ\Publish\Core\Repository\Helper $fieldTypeRegistry | ||
Результат |