Elgg  Version 1.11
Namespaces | Variables
add.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Variables

 $collection_name = htmlspecialchars(get_input('collection_name', '', false), ENT_QUOTES, 'UTF-8')
 
 $friends = get_input('friends_collection')
 
if(!$collection_name) $id = create_access_collection($collection_name)
 
if($id) else
 

Variable Documentation

$collection_name = htmlspecialchars(get_input('collection_name', '', false), ENT_QUOTES, 'UTF-8')

Definition at line 9 of file add.php.

$friends = get_input('friends_collection')

Definition at line 10 of file add.php.

if (!$collection_name) $id = create_access_collection($collection_name)

Definition at line 17 of file add.php.

if ($id) else
Initial value:
{
register_error(elgg_echo("friends:nocollectionname"))
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg register_error
Wrapper function for system_messages.
Definition: elgglib.js:383

Definition at line 28 of file add.php.