Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

abstract_auth_style.php
Go to the documentation of this file.
1 <?php
11 abstract class ezpRestAuthenticationStyle
12 {
17 protected $user;
18
23 protected $prefix;
24
25 public function __construct()
26 {
27 $this->prefix = eZINI::instance( 'rest.ini' )->variable( 'System', 'ApiPrefix' );
28 }
29
33 public function setUser( eZUser $user )
34 {
35 $this->user = $user;
36 }
37
41 public function getUser()
42 {
43 return $this->user;
44 }
45 }
46 ?>
eZUser
Definition: ezuser.php:76
ezpRestAuthenticationStyle
Definition: abstract_auth_style.php:12
ezpRestAuthenticationStyle\getUser
getUser()
Definition: abstract_auth_style.php:41
ezpRestAuthenticationStyle\__construct
__construct()
Definition: abstract_auth_style.php:25
ezpRestAuthenticationStyle\$user
$user
Definition: abstract_auth_style.php:17
ezpRestAuthenticationStyle\$prefix
$prefix
Definition: abstract_auth_style.php:23
ezpRestAuthenticationStyle\setUser
setUser(eZUser $user)
Definition: abstract_auth_style.php:33
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.