Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
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
register_error($error)
Display an error on next page load.
Definition: elgglib.php:452

Definition at line 28 of file add.php.