\midcom\datamanagerschema

Experimental schema class

Summary

Methods
Properties
Constants
__construct()
set_name()
get_name()
build_form()
get()
set()
has_field()
get_field()
get_defaults()
get_l10n()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
complete_fields()
resolve_field_options()
$defaults
$config
$name
N/A

Properties

$defaults

$defaults : 

Type

$config

$config : 

Type

$name

$name : string

Type

string

Methods

__construct()

__construct(array  $config) 

Parameters

array $config

set_name()

set_name(string  $name) 

Parameters

string $name

get_name()

get_name() : string

Returns

string

build_form()

build_form(\Symfony\Component\Form\FormFactoryInterface  $factory, \midcom\datamanager\storage\container\container  $storage, string  $name) : \Symfony\Component\Form\Form

Parameters

\Symfony\Component\Form\FormFactoryInterface $factory
\midcom\datamanager\storage\container\container $storage
string $name

Returns

\Symfony\Component\Form\Form

get()

get(string  $key) : mixed

Parameters

string $key

Returns

mixed

set()

set(  $key,   $value) 

Parameters

$key
$value

has_field()

has_field(  $name) 

Parameters

$name

get_field()

get_field(string  $name) : array

Returns reference to field config (for on the fly modification)

Parameters

string $name

Returns

array

get_defaults()

get_defaults() 

complete_fields()

complete_fields() 

resolve_field_options()

resolve_field_options(array  $config,   $name) 

Parameters

array $config
$name