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

ファイルを表示 Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Property Type Description
$fieldTypes Hash of SPI FieldTypes where key is identifier

Public Methods

Method 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 method

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

getFieldType() public method

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

getFieldTypes() public method

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

hasFieldType() public method

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

Property Details

$fieldTypes protected_oe property

Hash of SPI FieldTypes where key is identifier
protected $fieldTypes