‪TYPO3CMS  10.4
Demand.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
19 
25 {
29  const ‪ALL = 0;
41  const ‪STATUS_ACTIVE = 1;
45  const ‪STATUS_INACTIVE = 2;
49  const ‪LOGIN_SOME = 1;
53  const ‪LOGIN_NONE = 2;
57  protected ‪$userName = '';
58 
62  protected ‪$userType = ‪self::ALL;
63 
67  protected ‪$status = ‪self::ALL;
68 
72  protected ‪$logins = 0;
73 
77  protected ‪$backendUserGroup = 0;
78 
82  public function ‪setUserName(‪$userName)
83  {
84  $this->userName = ‪$userName;
85  }
86 
90  public function ‪getUserName()
91  {
92  return ‪$this->userName;
93  }
94 
98  public function ‪setUserType(‪$userType)
99  {
100  $this->userType = ‪$userType;
101  }
102 
106  public function ‪getUserType()
107  {
108  return ‪$this->userType;
109  }
110 
114  public function ‪setStatus(‪$status)
115  {
116  $this->status = ‪$status;
117  }
118 
122  public function ‪getStatus()
123  {
124  return ‪$this->status;
125  }
126 
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 }
‪TYPO3\CMS\Beuser\Domain\Model\Demand\$logins
‪int $logins
Definition: Demand.php:68
‪TYPO3\CMS\Beuser\Domain\Model
Definition: BackendUser.php:16
‪TYPO3\CMS\Beuser\Domain\Model\Demand\$backendUserGroup
‪int $backendUserGroup
Definition: Demand.php:72
‪TYPO3\CMS\Beuser\Domain\Model\Demand\USERTYPE_ADMINONLY
‪const USERTYPE_ADMINONLY
Definition: Demand.php:33
‪TYPO3\CMS\Extbase\DomainObject\AbstractEntity
Definition: AbstractEntity.php:23
‪TYPO3\CMS\Beuser\Domain\Model\Demand\$userName
‪string $userName
Definition: Demand.php:56
‪TYPO3\CMS\Beuser\Domain\Model\Demand\setUserType
‪setUserType($userType)
Definition: Demand.php:93
‪TYPO3\CMS\Beuser\Domain\Model\Demand\LOGIN_NONE
‪const LOGIN_NONE
Definition: Demand.php:53
‪TYPO3\CMS\Beuser\Domain\Model\Demand\$status
‪int $status
Definition: Demand.php:64
‪TYPO3\CMS\Beuser\Domain\Model\Demand\setStatus
‪setStatus($status)
Definition: Demand.php:109
‪TYPO3\CMS\Beuser\Domain\Model\Demand\setBackendUserGroup
‪setBackendUserGroup($backendUserGroup)
Definition: Demand.php:141
‪TYPO3\CMS\Beuser\Domain\Model\Demand\getUserType
‪int getUserType()
Definition: Demand.php:101
‪TYPO3\CMS\Beuser\Domain\Model\Demand\$userType
‪int $userType
Definition: Demand.php:60
‪TYPO3\CMS\Beuser\Domain\Model\Demand\LOGIN_SOME
‪const LOGIN_SOME
Definition: Demand.php:49
‪TYPO3\CMS\Beuser\Domain\Model\Demand\STATUS_INACTIVE
‪const STATUS_INACTIVE
Definition: Demand.php:45
‪TYPO3\CMS\Beuser\Domain\Model\Demand\ALL
‪const ALL
Definition: Demand.php:29
‪TYPO3\CMS\Beuser\Domain\Model\Demand
Definition: Demand.php:25
‪TYPO3\CMS\Beuser\Domain\Model\Demand\setLogins
‪setLogins($logins)
Definition: Demand.php:125
‪TYPO3\CMS\Beuser\Domain\Model\Demand\USERTYPE_USERONLY
‪const USERTYPE_USERONLY
Definition: Demand.php:37
‪TYPO3\CMS\Beuser\Domain\Model\Demand\setUserName
‪setUserName($userName)
Definition: Demand.php:77
‪TYPO3\CMS\Beuser\Domain\Model\Demand\STATUS_ACTIVE
‪const STATUS_ACTIVE
Definition: Demand.php:41
‪TYPO3\CMS\Beuser\Domain\Model\Demand\getBackendUserGroup
‪int getBackendUserGroup()
Definition: Demand.php:149
‪TYPO3\CMS\Beuser\Domain\Model\Demand\getStatus
‪int getStatus()
Definition: Demand.php:117
‪TYPO3\CMS\Beuser\Domain\Model\Demand\getUserName
‪string getUserName()
Definition: Demand.php:85
‪TYPO3\CMS\Beuser\Domain\Model\Demand\getLogins
‪int getLogins()
Definition: Demand.php:133