getSubject();
$event = $statement->getEvent();
$object = $statement->getObject();
if (is_array($object))
{
switch ($object['relationship'])
{
// Friending
case 'member' :
$user = $object['subject'];
$group = $object['object'];
if (($user instanceof ElggUser) && ($group instanceof ElggGroup))
{
echo "getURL()}\">{$user->name} ";
echo elgg_echo("groups:river:member");
echo " 'getURL()}\">{$group->name}'";
}
break;
}
}
?>