ossn.lib.relations.php File Reference

Go to the source code of this file.

Namespaces

 Informatikon\com
 

Functions

 ossn_add_relation ($from, $to, $type)
 
 ossn_delete_user_relations ($user)
 
 ossn_delete_group_relations ($group)
 

Function Documentation

ossn_add_relation (   $from,
  $to,
  $type 
)

Ossn Add Relations

$from => relation from guid $to => relation to guid $type => relation type

Parameters
string$type
Returns
bool

Definition at line 22 of file ossn.lib.relations.php.

ossn_delete_group_relations (   $group)

Delete group relations if user is deleted

Parameters
(object)$group Group Entity
Returns
bool

Definition at line 75 of file ossn.lib.relations.php.

ossn_delete_user_relations (   $user)

Delete user relations if user is deleted

Parameters
OssnUser$userEntity of user
Returns
bool

Definition at line 51 of file ossn.lib.relations.php.