‪TYPO3CMS  9.5
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 
22 {
26  const ‪ALL = 0;
38  const ‪STATUS_ACTIVE = 1;
42  const ‪STATUS_INACTIVE = 2;
46  const ‪LOGIN_SOME = 1;
50  const ‪LOGIN_NONE = 2;
54  protected ‪$userName = '';
55 
59  protected ‪$userType = ‪self::ALL;
60 
64  protected ‪$status = ‪self::ALL;
65 
69  protected ‪$logins = 0;
70 
74  protected ‪$backendUserGroup = 0;
75 
79  public function ‪setUserName(‪$userName)
80  {
81  $this->userName = ‪$userName;
82  }
83 
87  public function ‪getUserName()
88  {
89  return ‪$this->userName;
90  }
91 
95  public function ‪setUserType(‪$userType)
96  {
97  $this->userType = ‪$userType;
98  }
99 
103  public function ‪getUserType()
104  {
105  return ‪$this->userType;
106  }
107 
111  public function ‪setStatus(‪$status)
112  {
113  $this->status = ‪$status;
114  }
115 
119  public function ‪getStatus()
120  {
121  return ‪$this->status;
122  }
123 
127  public function ‪setLogins(‪$logins)
128  {
129  $this->logins = ‪$logins;
130  }
131 
135  public function ‪getLogins()
136  {
137  return ‪$this->logins;
138  }
139 
144  {
145  $this->backendUserGroup = ‪$backendUserGroup;
146  }
147 
151  public function ‪getBackendUserGroup()
152  {
154  }
155 }
‪TYPO3\CMS\Beuser\Domain\Model\Demand\$logins
‪int $logins
Definition: Demand.php:65
‪TYPO3\CMS\Beuser\Domain\Model
Definition: BackendUser.php:2
‪TYPO3\CMS\Beuser\Domain\Model\Demand\$backendUserGroup
‪int $backendUserGroup
Definition: Demand.php:69
‪TYPO3\CMS\Beuser\Domain\Model\Demand\USERTYPE_ADMINONLY
‪const USERTYPE_ADMINONLY
Definition: Demand.php:30
‪TYPO3\CMS\Extbase\DomainObject\AbstractEntity
Definition: AbstractEntity.php:22
‪TYPO3\CMS\Beuser\Domain\Model\Demand\$userName
‪string $userName
Definition: Demand.php:53
‪TYPO3\CMS\Beuser\Domain\Model\Demand\setUserType
‪setUserType($userType)
Definition: Demand.php:90
‪TYPO3\CMS\Beuser\Domain\Model\Demand\LOGIN_NONE
‪const LOGIN_NONE
Definition: Demand.php:50
‪TYPO3\CMS\Beuser\Domain\Model\Demand\$status
‪int $status
Definition: Demand.php:61
‪TYPO3\CMS\Beuser\Domain\Model\Demand\setStatus
‪setStatus($status)
Definition: Demand.php:106
‪TYPO3\CMS\Beuser\Domain\Model\Demand\setBackendUserGroup
‪setBackendUserGroup($backendUserGroup)
Definition: Demand.php:138
‪TYPO3\CMS\Beuser\Domain\Model\Demand\getUserType
‪int getUserType()
Definition: Demand.php:98
‪TYPO3\CMS\Beuser\Domain\Model\Demand\$userType
‪int $userType
Definition: Demand.php:57
‪TYPO3\CMS\Beuser\Domain\Model\Demand\LOGIN_SOME
‪const LOGIN_SOME
Definition: Demand.php:46
‪TYPO3\CMS\Beuser\Domain\Model\Demand\STATUS_INACTIVE
‪const STATUS_INACTIVE
Definition: Demand.php:42
‪TYPO3\CMS\Beuser\Domain\Model\Demand\ALL
‪const ALL
Definition: Demand.php:26
‪TYPO3\CMS\Beuser\Domain\Model\Demand
Definition: Demand.php:22
‪TYPO3\CMS\Beuser\Domain\Model\Demand\setLogins
‪setLogins($logins)
Definition: Demand.php:122
‪TYPO3\CMS\Beuser\Domain\Model\Demand\USERTYPE_USERONLY
‪const USERTYPE_USERONLY
Definition: Demand.php:34
‪TYPO3\CMS\Beuser\Domain\Model\Demand\setUserName
‪setUserName($userName)
Definition: Demand.php:74
‪TYPO3\CMS\Beuser\Domain\Model\Demand\STATUS_ACTIVE
‪const STATUS_ACTIVE
Definition: Demand.php:38
‪TYPO3\CMS\Beuser\Domain\Model\Demand\getBackendUserGroup
‪int getBackendUserGroup()
Definition: Demand.php:146
‪TYPO3\CMS\Beuser\Domain\Model\Demand\getStatus
‪int getStatus()
Definition: Demand.php:114
‪TYPO3\CMS\Beuser\Domain\Model\Demand\getUserName
‪string getUserName()
Definition: Demand.php:82
‪TYPO3\CMS\Beuser\Domain\Model\Demand\getLogins
‪int getLogins()
Definition: Demand.php:130