17 'property_type' =>
'metadata',
18 'property' =>
'title',
21 'fields' => [
'metadata' => [
'title']],
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_page(string $title, string|array $body, string $page_shell= 'default', array $vars=[])
Assembles and outputs a full page.
if(empty($subtype)) $options
elgg_list_entities(array $options=[], callable $getter=null, callable $viewer=null)
Returns a string of rendered entities.
elgg_entity_types_with_capability(string $capability)
Returns an array of type/subtypes with the requested capability enabled.
if(empty($subtype)) $body
elgg_gatekeeper()
Used at the top of a page to mark it as logged in users only.