Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
eZ
Publish
Core
Persistence
FieldTypeRegistry
__construct
eZ\Publish\Core\Persistence\FieldTypeRegistry::__construct PHP Method
FieldTypeRegistry Class Documentation
Mostrar archivo
Open project: ezsystems/ezpublish-kernel
__construct()
public
method
In $fieldTypeMap a mapping of field type identifier to object / callable is expected, in case of callable factory it should return the FieldType object. The FieldType object must comply to the {@link \eZ\Publish\SPI\FieldType\FieldType} interface.
public
__construct
(
array
$fieldTypeMap
)
$fieldTypeMap
array
A map where key is field type identifier and value is a callable factory to get FieldType OR FieldType object.
public function __construct(array $fieldTypeMap) { $this->coreFieldTypeMap = $fieldTypeMap; }
FieldTypeRegistry
__construct
getCoreFieldType
getFieldType
register