PHP Class eZ\Publish\Core\Base\Container\ApiLoader\FieldTypeCollectionFactory

Inheritance: implements Symfony\Component\DependencyInjection\ContainerAwareInterface, use trait Symfony\Component\DependencyInjection\ContainerAwareTrait
Mostrar archivo Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Property Type Description
$fieldTypes Closure[] Collection of fieldTypes, lazy loaded via a closure.

Public Methods

Method Description
getConcreteFieldTypesIdentifiers ( )
getFieldTypes ( ) : Closure[] Returns registered field types (as closures to be lazy loaded in the public API).
registerConcreteFieldTypeIdentifier ( string $fieldTypeIdentifier ) Registers $fieldTypeIdentifier as "concrete" FieldType (i.e. not using NullFieldType).
registerFieldType ( string $fieldTypeServiceId, string $fieldTypeAlias ) Registers an eZ Publish field type.

Method Details

getConcreteFieldTypesIdentifiers() public method

getFieldTypes() public method

Returns registered field types (as closures to be lazy loaded in the public API).
public getFieldTypes ( ) : Closure[]
return Closure[]

registerConcreteFieldTypeIdentifier() public method

Registers $fieldTypeIdentifier as "concrete" FieldType (i.e. not using NullFieldType).
public registerConcreteFieldTypeIdentifier ( string $fieldTypeIdentifier )
$fieldTypeIdentifier string

registerFieldType() public method

Field types are being registered as a closure so that they will be lazy loaded.
public registerFieldType ( string $fieldTypeServiceId, string $fieldTypeAlias )
$fieldTypeServiceId string The field type service Id
$fieldTypeAlias string The field type alias (e.g. "ezstring")

Property Details

$fieldTypes protected_oe property

Collection of fieldTypes, lazy loaded via a closure.
protected Closure[] $fieldTypes
return Closure[]