| 7 session_test.module | _session_test_get() |
| 8 session_test.module | _session_test_get() |
Page callback, prints the stored session value to the screen.
1 string reference to '_session_test_get'
File
- modules/
simpletest/ tests/ session_test.module, line 77
Code
function _session_test_get() {
if (!empty($_SESSION['session_test_value'])) {
return t('The current value of the stored session variable is: %val', array('%val' => $_SESSION['session_test_value']));
}
else {
return "";
}
}
Login or register to post comments