18 if (
$user->makeAdmin()) {
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg forward
Meant to mimic the php forward() function by simply redirecting the user to another page...
elgg system_message
Wrapper function for system_messages.
elgg register_error
Wrapper function for system_messages.
get_entity($guid)
Loads and returns an entity object from a guid.