18 if (!
$item->canDelete()) {
23 if (
$item->delete()) {
register_error($error)
Display an error on next page load.
system_message($message)
Display a system message on next page load.
forward($location="", $reason='system')
Forward to $location.
elgg_get_river(array $options=array())
Get river items.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
$id
Elgg profile plugin edit default profile action removal.