Elgg  Version 3.0
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:1869
elgg echo
Translates a string.
Definition: languages.js:43
var elgg
Definition: elgglib.js:4