48 'elgg-input-entity-picker',
68 'input_name' =>
$name,
74 'elgg-entity-picker-list',
81 import(
'input/entitypicker').then((entitypicker) => {
82 entitypicker.default.setup(
'.elgg-entity-picker[data-name="' + <?= json_encode(
$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.
get_entity(int $guid)
Loads and returns an entity object from a guid.
elgg_http_add_url_query_elements(string $url, array $elements)
Sets elements in a URL's query string.
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_build_hmac($data)
Get an HMAC token builder/validator object.
$guid
Reset an ElggUpgrade.