Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
relationship.php
Go to the documentation of this file.
1 <?php
11 $r = $vars['relationship'];
12 
13 $export = new stdClass;
14 
15 $exportable_values = $entity->getExportableValues();
16 
17 foreach ($exportable_values as $v) {
18  $export->$v = $r->$v;
19 }
20 
21 global $jsonexport;
22 $jsonexport['relationships'][] = $export;
$r
$vars['entity']
$exportable_values
$export
$entity
Definition: delete.php:7
foreach($exportable_values as $v) global $jsonexport