elgg_extract($key, array $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_instanceof($entity, $type=null, $subtype=null, $class=null)
Checks if $entity is an and optionally for type and subtype.
elgg_get_context_stack()
Get the entire context stack (e.g.
elgg_get_page_owner_guid($guid=0)
Gets the guid of the entity that owns the current page.