ossn.lib.entities.php File Reference

Go to the source code of this file.

Namespaces

 Informatikon\com
 

Functions

 ossn_get_entity ($guid)
 
 ossn_get_entities (array $params)
 
 ossn_add_entity (array $params)
 
 ossn_update_entity ($guid, $value)
 

Function Documentation

ossn_add_entity ( array  $params)

Ossn Add Entity

Parameters
array$paramssearch data
string$params,['type']Entity type
string$params,['subtype']Entity subtype
string$params,['value']Entity Value
string$params,['owner_guid']Owner guid
string$params,['permission']Permission (access of entity)
string$params,['active']1 or 0 Does your entity is active?
Returns
bool

Definition at line 63 of file ossn.lib.entities.php.

ossn_get_entities ( array  $params)

Ossn Get Entities

Parameters
array$paramssearch data
string$params,['type']Entity type
string$params,['subtype']Entity subtype
string$params,['order_by']Order by (ASC , DESC)
string$params,['limit']Limit for data that need to be fetched
string$params,['owner_guid']Owner guid
Returns
bool

Definition at line 42 of file ossn.lib.entities.php.

ossn_get_entity (   $guid)

Ossn Get Entity

Parameters
int$guidGuid of entity
Returns
bool

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

ossn_update_entity (   $guid,
  $value 
)

Ossn update entity

Parameters
int$guidEntity guid
string$valueEntity new value
Returns
bool

Definition at line 91 of file ossn.lib.entities.php.