TYPO3
7.6
Users
bogdan
Projects
Kapeli
Resources
Dash
Docsets
TYPO3
src
typo3
sysext
beuser
Classes
Domain
Model
Demand.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Beuser\Domain\Model;
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
20
class
Demand
extends
\TYPO3\CMS\Extbase\DomainObject\AbstractEntity
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
146
public
function
setBackendUserGroup
(
$backendUserGroup
)
147
{
148
$this->backendUserGroup =
$backendUserGroup
;
149
}
150
154
public
function
getBackendUserGroup
()
155
{
156
return
$this->backendUserGroup
;
157
}
158
}
Generated on Wed Nov 11 2015 01:51:54 for TYPO3 by
1.8.3