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

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

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

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

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

Метод Описание
getNameableFieldTypes ( ) : Closure[] Returns registered field types (as closures to be lazy loaded in the public API).
registerNameableFieldType ( string $nameableFieldTypeServiceId, string $fieldTypeAlias ) Registers an eZ Publish field type.
registerNonNameableFieldType ( $fieldTypeServiceId, string $fieldTypeAlias ) Registers an eZ Publish field type.

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

getNameableFieldTypes() публичный метод

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

registerNameableFieldType() публичный метод

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

registerNonNameableFieldType() публичный метод

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

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

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

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