class RegisterHandler

RegisterHandler

Constants

FIELD_TYPE

FIELD_SKIN

Properties

protected PluginRegister $register

Methods

__construct(PluginRegister $register)

create instance

void
add(AbstractType $class)

register dynamic field type class

getType(DynamicFieldHandler $handler, string $id)

get type

getSkin(DynamicFieldHandler $handler, string $id)

get skin

get(DynamicFieldHandler $handler, string $id)

get instance of field type or skin

getTypes(DynamicFieldHandler $handler)

container 에서 field type class name 반환.

getSkins(DynamicFieldHandler $handler)

container 에서 field skin class name 반환.

getSkinsByType(DynamicFieldHandler $handler, string $id)

container 에서 field skin class name 반환.

Details

at line 45
__construct(PluginRegister $register)

create instance

Parameters

PluginRegister $register register's container

at line 56
void add(AbstractType $class)

register dynamic field type class

Parameters

AbstractType $class class name of dynamic field type

Return Value

void

at line 69
AbstractType getType(DynamicFieldHandler $handler, string $id)

get type

Parameters

DynamicFieldHandler $handler dynamic field handler
string $id type id

Return Value

AbstractType

at line 82
AbstractSkin getSkin(DynamicFieldHandler $handler, string $id)

get skin

Parameters

DynamicFieldHandler $handler dynamic field handler
string $id skin id

Return Value

AbstractSkin

at line 95
protected AbstractType|AbstractSkin get(DynamicFieldHandler $handler, string $id)

get instance of field type or skin

Parameters

DynamicFieldHandler $handler dynamic field handler
string $id field type id or skin id

Return Value

AbstractType|AbstractSkin

at line 108
Generator getTypes(DynamicFieldHandler $handler)

container 에서 field type class name 반환.

AbstractType class instance

Parameters

DynamicFieldHandler $handler dynamic field handler

Return Value

Generator

at line 123
Generator getSkins(DynamicFieldHandler $handler)

container 에서 field skin class name 반환.

AbstractSkin class instance

Parameters

DynamicFieldHandler $handler dynamic field handler

Return Value

Generator

at line 141
Generator getSkinsByType(DynamicFieldHandler $handler, string $id)

container 에서 field skin class name 반환.

AbstractSkin class instance

Parameters

DynamicFieldHandler $handler dynamic field handler
string $id field type id

Return Value

Generator