Elgg  Version 2.3
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
Definition: install.js:23
_elgg_get_js_page_data()
Get the initial contents of "elgg" client side.
Definition: views.php:2014
elgg echo
Translates a string.
Definition: languages.js:48