14 elgg_deprecated_notice(
'No longer rely on the presence of the generic elgg/admin.js. Include your own AMD js module.',
'4.3');
44 'filter_id' =>
'admin',
elgg_view_exists($view, $viewtype= '', $recurse=true)
Returns whether the specified view exists.
elgg_deprecated_notice(string $msg, string $dep_version)
Log a notice about deprecated use of a function, view, etc.
if(!isset($segments[0])||empty($segments[0])) $title
elgg_unregister_external_file(string $type, string $name)
Unregister an external file.
elgg_echo($message_key, array $args=[], $language="")
Elgg language module Functions to manage language and translations.
elgg_view_page($title, $body, $page_shell= 'default', $vars=[])
Assembles and outputs a full page.
if(count($segments) > 1) $view
if(elgg_view_exists('elgg/admin.js')) $segments
Thrown when page is not accessible.
elgg_require_js($name)
Request that Elgg load an AMD module onto the page.
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_view_layout($layout_name, $vars=[])
Displays a layout with optional parameters.
elgg echo
Translates a string.
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.