TYPO3 CMS  TYPO3_7-6
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;
74 
79  public function setUserName($userName)
80  {
81  $this->userName = $userName;
82  }
83 
87  public function getUserName()
88  {
89  return $this->userName;
90  }
91 
96  public function setUserType($userType)
97  {
98  $this->userType = $userType;
99  }
100 
104  public function getUserType()
105  {
106  return $this->userType;
107  }
108 
113  public function setStatus($status)
114  {
115  $this->status = $status;
116  }
117 
121  public function getStatus()
122  {
123  return $this->status;
124  }
125 
130  public function setLogins($logins)
131  {
132  $this->logins = $logins;
133  }
134 
138  public function getLogins()
139  {
140  return $this->logins;
141  }
142 
147  {
148  $this->backendUserGroup = $backendUserGroup;
149  }
150 
154  public function getBackendUserGroup()
155  {
157  }
158 }
setBackendUserGroup($backendUserGroup)
Definition: Demand.php:146