ossn.lib.annotations.php File Reference

Go to the source code of this file.

Namespaces

 Informatikon\com
 

Functions

 ossn_get_annotation ($id)
 
 ossn_get_annotation_entities ($annotation, $params=array())
 
 ossn_get_annotations (array $params)
 
 ossn_get_annotations_by_type (array $params)
 

Function Documentation

ossn_get_annotation (   $id)

Ossn get annotation

Parameters
int$guidGuid of annotation
Returns
object

Definition at line 19 of file ossn.lib.annotations.php.

ossn_get_annotation_entities (   $annotation,
  $params = array() 
)

Get entities of annotation

Parameters
object$annotationMust be valid annotation object
array$paramsOptions
Returns
object

Definition at line 38 of file ossn.lib.annotations.php.

ossn_get_annotations ( array  $params)

Get Annotations

Parameters
array$paramsOptions
int$params,['owner_guid']annotation owner guid
string$params,['type']annotation type
string$params,['subtype']annotation subtype
string$params,['limit']limit of fetch data
string$params,['order_by']order fetch data
Returns
object

Definition at line 60 of file ossn.lib.annotations.php.

ossn_get_annotations_by_type ( array  $params)

Get annotations by types

Parameters
array$paramsOptions
string$params,['type']object type
string$params,['subtype']object subtype
string$params,['limit']limit of fetch data
string$params,['order_by']order fetch data
Returns
object

Definition at line 97 of file ossn.lib.annotations.php.