Elgg  Version 2.3
relationship.php
Go to the documentation of this file.
1 <?php
11 $r = $vars['relationship'];
12 
14 
15 $exportable_values = $entity->getExportableValues();
16 
17 foreach ($exportable_values as $v) {
18  $export->$v = $r->$v;
19 }
20 
22 $jsonexport['relationships'][] = $export;
$r
$vars['entity']
$exportable_values
elgg global
Pointer to the global context.
Definition: elgglib.js:12
$export
$entity
Definition: delete.php:7
foreach($exportable_values as $v) global $jsonexport