45 if (empty($page[1])) {
68 'is_edit_page' =>
true,
112 if (
$item->getName() ===
'access') {
170 if (
$params[
'subtype'] ===
'comment') {
213 function _elgg_comments_notification_email_subject($hook,
$type, $returnvalue,
$params) {
216 $notification =
elgg_extract(
'notification', $returnvalue[
'params']);
224 $returnvalue[
'subject'] =
'Re: ' .
$container->getDisplayName();
elgg_push_breadcrumb($title, $link=null)
Adds a breadcrumb to the breadcrumbs stack.
elgg_extract($key, array $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg forward
Meant to mimic the php forward() function by simply redirecting the user to another page...
elgg_register_plugin_hook_handler($hook, $type, $callback, $priority=500)
Register a callback as a plugin hook handler.
elgg_gatekeeper()
Used at the top of a page to mark it as logged in users only.
elgg_instanceof($entity, $type=null, $subtype=null, $class=null)
Checks if $entity is an ElggEntity and optionally for type and subtype.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg_in_context($context)
Check if this context exists anywhere in the stack.
elgg echo
Translates a string.
elgg_register_page_handler($identifier, $function)
Registers a page handler for a particular identifier.
elgg_view_layout($layout_name, $vars=array())
Displays a layout with optional parameters.
elgg_register_event_handler($event, $object_type, $callback, $priority=500)
Register a callback as an Elgg event handler.
elgg register_error
Wrapper function for system_messages.
elgg_register_ajax_view($view)
Register a view to be available for ajax calls.
$content
Set robots.txt action.
elgg_view_page($title, $body, $page_shell= 'default', $vars=array())
Assembles and outputs a full page.
elgg_register_entity_type($type, $subtype=null)
Registers an entity type and subtype as a public-facing entity that should be shown in search and by ...
elgg_view_form($action, $form_vars=array(), $body_vars=array())
get_entity($guid)
Loads and returns an entity object from a guid.