actions/comments/add.php File Reference

Go to the source code of this file.

Namespaces

namespace  Elgg::Core
 

Activate a plugin or plugins.


Variables

 $entity_guid = (int) get_input('entity_guid')
 $comment_text = get_input('generic_comment')
if(empty($comment_text)) $entity = get_entity($entity_guid)
if(!$entity$user = elgg_get_logged_in_user_entity()
 $annotation

Variable Documentation

$annotation
Initial value:
 create_annotation($entity->guid,
                                'generic_comment',
                                $comment_text,
                                "",
                                $user->guid,
                                $entity->access_id)

Definition at line 26 of file add.php.

$comment_text = get_input('generic_comment')

Definition at line 10 of file add.php.

if (empty($comment_text)) $entity = get_entity($entity_guid)

Definition at line 18 of file add.php.

$entity_guid = (int) get_input('entity_guid')

Definition at line 9 of file add.php.

if (!$entity) $user = elgg_get_logged_in_user_entity()

Definition at line 24 of file add.php.

 All Classes Namespaces Files Functions Variables Enumerations
Generated on Sat May 25 00:01:18 2013 for Elgg by  doxygen 1.6.3