PHP Class eZ\Publish\Core\Search\Common\FieldRegistry

Afficher le fichier Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Свойство Type Description
$types Registered field types.

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

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

getType() public méthode

Get Indexable type.
public getType ( string $name ) : eZ\Publish\SPI\FieldType\Indexable
$name string
Résultat eZ\Publish\SPI\FieldType\Indexable

registerType() public méthode

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

Property Details

$types protected_oe property

Registered field types.
protected $types