Elgg
Version 2.3
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
stdClass
$vars
$vars['entity']
Definition:
plugin_settings.php:15
$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
$entity
$entity
Definition:
delete.php:7
$jsonexport
foreach($exportable_values as $v) global $jsonexport
Definition:
relationship.php:17
Generated on Sat Dec 21 2024 00:01:05 for Elgg by
1.8.11