Elgg
Version 2.3
views
default
initialize_elgg.js.php
Go to the documentation of this file.
1
<?php
5
?>
6
7
var
elgg
= <?php echo json_encode(
_elgg_get_js_page_data
()); ?>;
8
<?php
9
// note: elgg.session.user needs to be wrapped with elgg.ElggUser, but this class isn't
10
// defined yet. So this is delayed until after the classes are defined, in js/lib/session.js
elgg
const elgg
Definition:
elgg.js.php:92
_elgg_get_js_page_data
_elgg_get_js_page_data()
Get the initial contents of "elgg" client side.
Definition:
views.php:2014
Generated on Fri Aug 29 2025 00:00:47 for Elgg by
1.9.1