Methods
__construct (array $arg)
Parameters
$arg
array
The arguments for the callback
get_name_for_key ($key)
You can safely assume that get_name_for_key receives only valid keys.
Parameters
$key
Returns
string
key_exists ($key)
Parameters
$key
Returns
boolean
list_all ()
list_all must use the same return format as the options array would normally
have.
One instance of this class is created per type.
Returns
array
set_type (\midcom_helper_datamanager2_type $type)
The set_type call is executed upon type startup, giving you a reference to the type
you are supplying with information.
You may ignore this call (but it has to be defined
to satisfy PHP).
Parameters
$type
\midcom_helper_datamanager2_type
&$type The current type