19 'disable_security' =>
false,
25 unset(
$vars[
'ignore_empty_body']);
37 $vars[
'class'][] =
'elgg-form-prevent-double-submit';
44 if (!
$vars[
'disable_security']) {
48 unset(
$vars[
'disable_security']);
49 unset(
$vars[
'action_name']);
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
elgg_import_esm(string $name)
Helper functions for external files like css/js.
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
elgg_extract_class(array $array, array|string $existing=[], string $extract_key= 'class')
Extract class names from an array, optionally merging into a preexisting set.
elgg_normalize_url(string $url)