| 
    Elgg
    Version 1.10
    
   | 
 
Go to the source code of this file.
Variables | |
| $rating = get_input('rating') | |
| Demonstrates adding an annotation through an action.  More... | |
| $guid = get_input('guid') | |
| $entity = get_entity($guid) | |
| $entity = get_entity($guid) | 
| $rating = get_input('rating') | 
Demonstrates adding an annotation through an action.
This action adds a rating annotation to an entity. If this was coming from a five-star rating tool, the rating would be a number between 0 and 5. The GUID of the entity being rating is also submitted to the action.