ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
sandbox.php
Go to the documentation of this file.
1 <?php
2 
3 require_once('../_include.php');
4 
5 // Load SimpleSAMLphp, configuration
8 
9 // Check if valid local session exists..
10 //SimpleSAML\Utils\Auth::requireAdmin();
11 
13 
14 $template->data['pagetitle'] = 'Sandbox';
15 $template->data['sometext'] = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ac quam viverra nec consectetur ante hendrerit. Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur.';
16 $template->data['remaining'] = $session->getAuthData('admin', 'Expire') - time();
17 $template->data['logout'] = null;
18 
19 $template->show();
$config
Definition: sandbox.php:6
$template
Definition: sandbox.php:12
Add data(end) time
Method that wraps PHPs time in order to allow simulations with the workflow.
$session
Definition: sandbox.php:7
static getSessionFromRequest()
Retrieves the current session.
Definition: Session.php:243
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.