PHP Класс eZ\Publish\Core\Base\Container\ApiLoader\FieldTypeCollectionFactory

Наследование: implements Symfony\Component\DependencyInjection\ContainerAwareInterface, use trait Symfony\Component\DependencyInjection\ContainerAwareTrait
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$fieldTypes Closure[] Collection of fieldTypes, lazy loaded via a closure.

Открытые методы

Метод Описание
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.

Описание методов

getConcreteFieldTypesIdentifiers() публичный Метод

getFieldTypes() публичный Метод

Returns registered field types (as closures to be lazy loaded in the public API).
public getFieldTypes ( ) : Closure[]
Результат Closure[]

registerConcreteFieldTypeIdentifier() публичный Метод

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

registerFieldType() публичный Метод

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")

Описание свойств

$fieldTypes защищенное свойство

Collection of fieldTypes, lazy loaded via a closure.
protected Closure[] $fieldTypes
Результат Closure[]