PHP Class eZ\Publish\Core\Repository\Helper\FieldTypeRegistry

Afficher le fichier Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Свойство Type Description
$fieldTypes Hash of SPI FieldTypes where key is identifier

Méthodes publiques

Méthode Description
__construct ( array $fieldTypes = [] )
getFieldType ( string $identifier ) : eZ\Publish\SPI\FieldType\FieldType Return a SPI FieldType object.
getFieldTypes ( ) : eZ\Publish\SPI\FieldType\FieldType[] Returns a list of all SPI FieldTypes.
hasFieldType ( string $identifier ) : boolean Returns if there is a SPI FieldType registered under $identifier.

Method Details

__construct() public méthode

public __construct ( array $fieldTypes = [] )
$fieldTypes array Hash of SPI FieldTypes where key is identifier

getFieldType() public méthode

Return a SPI FieldType object.
public getFieldType ( string $identifier ) : eZ\Publish\SPI\FieldType\FieldType
$identifier string
Résultat eZ\Publish\SPI\FieldType\FieldType

getFieldTypes() public méthode

Returns a list of all SPI FieldTypes.
public getFieldTypes ( ) : eZ\Publish\SPI\FieldType\FieldType[]
Résultat eZ\Publish\SPI\FieldType\FieldType[]

hasFieldType() public méthode

Returns if there is a SPI FieldType registered under $identifier.
public hasFieldType ( string $identifier ) : boolean
$identifier string
Résultat boolean

Property Details

$fieldTypes protected_oe property

Hash of SPI FieldTypes where key is identifier
protected $fieldTypes