39 'class' =>
'elgg-inner',
40 'data-role' =>
'comment-text',
75 elgg_echo(
'generic_comment:email:body', array(
92 'view' =>
'river/object/comment/create',
93 'action_type' =>
'comment',
94 'subject_guid' =>
$user->guid,
95 'object_guid' =>
$guid,
103 if (!empty($_SERVER[
'HTTP_REFERER'])) {
106 if (preg_match(
"~^{$site_url}activity(/|\\z)~", $_SERVER[
'HTTP_REFERER'],
$m)) {
107 forward(
"{$m[0]}#elgg-object-{$comment->guid}");
elgg_is_xhr()
Checks whether the request was requested via ajax.
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_instanceof($entity, $type=null, $subtype=null, $class=null)
Checks if $entity is an and optionally for type and subtype.
elgg_create_river_item(array $options=array())
Adds an item to the river.
notify_user($to, $from=0, $subject= '', $message= '', array $params=array(), $methods_override=null)
Notify a user via their preferences.
elgg echo
Translates a string.
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
elgg_get_site_url($site_guid=0)
Get the URL for the current (or specified) site.
elgg system_message
Wrapper function for system_messages.
elgg register_error
Wrapper function for system_messages.
elgg_get_logged_in_user_entity()
Return the current logged in user, or null if no user is logged in.
get_entity($guid)
Loads and returns an entity object from a guid.