Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

view.php
Go to the documentation of this file.
1 <?php
12 $session = ezcPersistentSessionInstance::get();
13
14 $module = $Params['Module'];
15
16 // @todo Instanciate the session maybe ?
17 $applicationId = $Params['ApplicationID'];
18 $application = $session->load( 'ezpRestClient', $applicationId );
19
20 $tpl = eZTemplate::factory();
21 $tpl->setVariable( 'module', $module );
22 $tpl->setVariable( 'application', $application );
23 $Result['path'] = array( array( 'url' => false,
24 'text' => ezpI18n::tr( 'kernel/oauthadmin', 'oAuth admin' ) ),
25 array( 'url' => false,
26 'text' => ezpI18n::tr( 'kernel/oauthadmin', 'REST application: %application_name%', null,
27 array( '%application_name%' => $application->name ) ) ),
28 );
29
30 $Result['content'] = $tpl->fetch( 'design:oauthadmin/view.tpl' );
31 return $Result;
32 ?>
$tpl
$tpl
Definition: view.php:20
$application
$application
Definition: view.php:18
$applicationId
$applicationId
Definition: view.php:17
$session
$session
Definition: view.php:12
$module
$module
Definition: view.php:14
$Result
$Result['path']
Definition: view.php:23
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.