Elgg  Version 2.2
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)
Examples:
/root/Elgg/engine/lib/views.php.

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:399

Definition at line 28 of file add.php.