$_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.
HTTP content fetching library
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 |
get(string $url, array $headers = array(), string $username = null, string $password = null) : string
Get contents of given URL
string | $url | Fully qualified URL |
array | $headers | Additional HTTP headers |
string | $username | Username, if any |
string | $password | Password, if any |
Contents