Elgg  Version 1.11
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 
22 $jsonexport['relationships'][] = $export;
$r
$exportable_values
elgg global
Pointer to the global context.
Definition: elgglib.js:12
$export
foreach($exportable_values as $v) global $jsonexport
$entity
Definition: delete.php:10
if(file_exists($welcome)) $vars
Definition: upgrade.php:93