PHP Класс eZ\Publish\Core\Search\Common\FieldRegistry

Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$types Registered field types.

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

Метод Описание
__construct ( array $types = [] ) Construct from optional Indexable type array.
getType ( string $name ) : eZ\Publish\SPI\FieldType\Indexable Get Indexable type.
registerType ( string $name, eZ\Publish\SPI\FieldType\Indexable $type ) Register another indexable type.

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

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

Construct from optional Indexable type array.
public __construct ( array $types = [] )
$types array

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

Get Indexable type.
public getType ( string $name ) : eZ\Publish\SPI\FieldType\Indexable
$name string
Результат eZ\Publish\SPI\FieldType\Indexable

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

Register another indexable type.
public registerType ( string $name, eZ\Publish\SPI\FieldType\Indexable $type )
$name string
$type eZ\Publish\SPI\FieldType\Indexable

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

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

Registered field types.
protected $types