Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100970312
PhabricatorRegistrationProfile.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Feb 4, 10:13
Size
1 KB
Mime Type
text/x-php
Expires
Thu, Feb 6, 10:13 (2 d)
Engine
blob
Format
Raw Data
Handle
24019431
Attached To
rPH Phabricator
PhabricatorRegistrationProfile.php
View Options
<?php
final
class
PhabricatorRegistrationProfile
extends
Phobject
{
private
$defaultUsername
;
private
$defaultEmail
;
private
$defaultRealName
;
private
$canEditUsername
;
private
$canEditEmail
;
private
$canEditRealName
;
private
$shouldVerifyEmail
;
public
function
setShouldVerifyEmail
(
$should_verify_email
)
{
$this
->
shouldVerifyEmail
=
$should_verify_email
;
return
$this
;
}
public
function
getShouldVerifyEmail
()
{
return
$this
->
shouldVerifyEmail
;
}
public
function
setCanEditEmail
(
$can_edit_email
)
{
$this
->
canEditEmail
=
$can_edit_email
;
return
$this
;
}
public
function
getCanEditEmail
()
{
return
$this
->
canEditEmail
;
}
public
function
setCanEditRealName
(
$can_edit_real_name
)
{
$this
->
canEditRealName
=
$can_edit_real_name
;
return
$this
;
}
public
function
getCanEditRealName
()
{
return
$this
->
canEditRealName
;
}
public
function
setCanEditUsername
(
$can_edit_username
)
{
$this
->
canEditUsername
=
$can_edit_username
;
return
$this
;
}
public
function
getCanEditUsername
()
{
return
$this
->
canEditUsername
;
}
public
function
setDefaultEmail
(
$default_email
)
{
$this
->
defaultEmail
=
$default_email
;
return
$this
;
}
public
function
getDefaultEmail
()
{
return
$this
->
defaultEmail
;
}
public
function
setDefaultRealName
(
$default_real_name
)
{
$this
->
defaultRealName
=
$default_real_name
;
return
$this
;
}
public
function
getDefaultRealName
()
{
return
$this
->
defaultRealName
;
}
public
function
setDefaultUsername
(
$default_username
)
{
$this
->
defaultUsername
=
$default_username
;
return
$this
;
}
public
function
getDefaultUsername
()
{
return
$this
->
defaultUsername
;
}
public
function
getCanEditAnything
()
{
return
$this
->
getCanEditUsername
()
||
$this
->
getCanEditEmail
()
||
$this
->
getCanEditRealName
();
}
}
Event Timeline
Log In to Comment