PHP Class eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\FieldValue\HandlerRegistry

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

Protected Properties

Свойство Type Description
$map Handler[] Map of Criterion field value handlers where key is field type identifier and value is field value handler.

Méthodes publiques

Méthode Description
__construct ( array $map = [] ) Create field value handler registry with handler map.
get ( string $fieldTypeIdentifier ) : Handler Returns handler for given $fieldTypeIdentifier.
has ( string $fieldTypeIdentifier ) : boolean Checks if handler is registered for the given $fieldTypeIdentifier.
register ( string $fieldTypeIdentifier, Handler $handler ) Register $handler for $fieldTypeIdentifier.

Method Details

__construct() public méthode

Create field value handler registry with handler map.
public __construct ( array $map = [] )
$map array Map of Criterion field value handlers where key is field type identifier and value field value handler

get() public méthode

Returns handler for given $fieldTypeIdentifier.
public get ( string $fieldTypeIdentifier ) : Handler
$fieldTypeIdentifier string
Résultat Handler

has() public méthode

Checks if handler is registered for the given $fieldTypeIdentifier.
public has ( string $fieldTypeIdentifier ) : boolean
$fieldTypeIdentifier string
Résultat boolean

register() public méthode

Register $handler for $fieldTypeIdentifier.
public register ( string $fieldTypeIdentifier, Handler $handler )
$fieldTypeIdentifier string
$handler Handler

Property Details

$map protected_oe property

Map of Criterion field value handlers where key is field type identifier and value is field value handler.
protected Handler[],eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\FieldValue $map
Résultat Handler[]