Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

modules/oauthadmin/list.php
Go to the documentation of this file.
1 <?php
12 $tpl = eZTemplate::factory();
13 $module = $Params['Module'];
14
15 $session = ezcPersistentSessionInstance::get();
16
17 $q = $session->createFindQuery( 'ezpRestClient' );
18 $q->where( $q->expr->eq( 'version', ezpRestClient::STATUS_PUBLISHED ) )
19 ->orderBy( 'name', ezcQuerySelect::ASC );
20 $tpl->setVariable( 'applications', $session->find( $q, 'ezpRestClient' ) );
21
22 $tpl->setVariable( 'module', $module );
23
24 $Result['path'] = array( array( 'url' => false,
25 'text' => ezpI18n::tr( 'kernel/oauthadmin', 'oAuth admin' ) ),
26 array( 'url' => false,
27 'text' => ezpI18n::tr( 'kernel/oauthadmin', 'Registered REST applications' ) ) );
28
29 $Result['content'] = $tpl->fetch( 'design:oauthadmin/list.tpl' );
30
31 return $Result;
32 ?>
ezpRestClient\STATUS_PUBLISHED
const STATUS_PUBLISHED
Definition: restclient.php:269
$tpl
$tpl
Definition: modules/oauthadmin/list.php:12
$q
$q
Definition: modules/oauthadmin/list.php:17
$session
$session
Definition: modules/oauthadmin/list.php:15
$module
$module
Definition: modules/oauthadmin/list.php:13
$Result
$Result['path']
Definition: modules/oauthadmin/list.php:24
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.