Adds an annotation to an entity.
public annotate ( string $name, mixed $value, integer $access_id = ACCESS_PRIVATE, integer $owner_guid, string $vartype = "" ) : boolean | integer | ||
$name | string | Annotation name |
$value | mixed | Annotation value |
$access_id | integer | Access ID |
$owner_guid | integer | GUID of the annotation owner |
$vartype | string | The type of annotation value |
return | boolean | integer | Returns int if an annotation is saved |