Elgg
Version 1.9
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
json
export
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
$r
Definition:
relationship.php:11
$exportable_values
$exportable_values
Definition:
relationship.php:15
global
elgg global
Pointer to the global context.
Definition:
elgglib.js:12
$export
$export
Definition:
relationship.php:13
$jsonexport
foreach($exportable_values as $v) global $jsonexport
Definition:
relationship.php:17
$entity
$entity
Definition:
delete.php:10
$vars
if(file_exists($welcome)) $vars
Definition:
upgrade.php:93
Generated on Mon Dec 2 2024 00:00:59 for Elgg by
1.8.11