Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
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_get_js_page_data()
Get the initial contents of "elgg" client side.
Definition: views.php:1872
const elgg
Definition: elgg.js.php:92