Elgg  Version 1.11
Namespaces | Variables
delete.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Variables

 $collection_id = (int) get_input('collection')
 
if(!can_edit_access_collection($collection_id)) if(delete_access_collection($collection_id)) else
 

Variable Documentation

◆ $collection_id

$collection_id = (int) get_input('collection')

Definition at line 9 of file delete.php.

◆ else

if (!can_edit_access_collection( $collection_id)) if (delete_access_collection( $collection_id)) else
Initial value:
{
register_error(elgg_echo("friends:collectiondeletefailed"))
register_error($error)
Display an error on next page load.
Definition: elgglib.php:455
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21

Definition at line 19 of file delete.php.