$_component
$_component : string
The name of the component, e.g. net.nehmer.static. Should be used whenever the component's name is required instead of hardcoding it.
Base class used for writing pure code components, retrieves a few common variables from the component's current environment.
Note, that the request data, for ease of use, already contains the L10n Databases of the Component and MidCOM itself located in this class. They are stored as 'l10n' and 'l10n_midcom'. Also available as 'config' is the current component configuration.
get_workflow(string $identifier, array $options = array()) : \midcom\workflow\dialog
string | $identifier | |
array | $options |
create(string $type) : \midcom_helper_filesync_importer
Dynamically create importer instances.
The returned instances will be created but not initialized.
string | $type | type |
The newly created importer instance.
get_node_qb(integer $parent_id) : \midcom_core_querybuilder
Returns node QB
integer | $parent_id | The parent's ID |
The prepared QB instance
get_leaf_qb(integer $parent_id) : \midcom_core_querybuilder
Returns leaf QB
integer | $parent_id | The parent's ID |
The prepared QB instance