Elgg\Database\Annotations::get PHP Method

get() public method

If you want multiple annotation objects, use {@link elgg_get_annotations()}.
public get ( integer $id ) : ElggAnnotation | false
$id integer The id of the annotation object being retrieved.
return ElggAnnotation | false
    function get($id)
    {
        return _elgg_get_metastring_based_object_from_id($id, 'annotation');
    }