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 | |
| $annotation |
create_annotation($entity->guid, 'generic_comment', $comment_text, "", $user->guid, $entity->access_id)
1.6.3