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 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_get_page_owner_entity()
Gets the owner entity for the current page.
if(!elgg_instanceof($entity, 'user')||!$entity->canEdit()) $content
elgg_push_context($context)
Push a context onto the top of the stack.
elgg_view_page($title, $body, $page_shell= 'default', $vars=array())
Assembles and outputs a full page.
if(isset($entity->icontime)) $params