TYPO3 CMS  TYPO3_8-7
Demand.php
Go to the documentation of this file.
1 <?php
3 
4 /*
5  * This file is part of the TYPO3 CMS project.
6  *
7  * It is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License, either version 2
9  * of the License, or any later version.
10  *
11  * For the full copyright and license information, please read the
12  * LICENSE.txt file that was distributed with this source code.
13  *
14  * The TYPO3 project - inspiring people to share!
15  */
16 
21 {
25  const ALL = 0;
29  const USERTYPE_ADMINONLY = 1;
33  const USERTYPE_USERONLY = 2;
37  const STATUS_ACTIVE = 1;
41  const STATUS_INACTIVE = 2;
45  const LOGIN_SOME = 1;
49  const LOGIN_NONE = 2;
53  protected $userName = '';
54 
58  protected $userType = self::ALL;
59 
63  protected $status = self::ALL;
64 
68  protected $logins = 0;
69 
73  protected $backendUserGroup = 0;
74 
78  public function setUserName($userName)
79  {
80  $this->userName = $userName;
81  }
82 
86  public function getUserName()
87  {
88  return $this->userName;
89  }
90 
94  public function setUserType($userType)
95  {
96  $this->userType = $userType;
97  }
98 
102  public function getUserType()
103  {
104  return $this->userType;
105  }
106 
110  public function setStatus($status)
111  {
112  $this->status = $status;
113  }
114 
118  public function getStatus()
119  {
120  return $this->status;
121  }
122 
126  public function setLogins($logins)
127  {
128  $this->logins = $logins;
129  }
130 
134  public function getLogins()
135  {
136  return $this->logins;
137  }
138 
143  {
144  $this->backendUserGroup = $backendUserGroup;
145  }
146 
150  public function getBackendUserGroup()
151  {
153  }
154 }
setBackendUserGroup($backendUserGroup)
Definition: Demand.php:142