Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102670129
NuanceRequestor.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
Sun, Feb 23, 02:10
Size
800 B
Mime Type
text/x-php
Expires
Tue, Feb 25, 02:10 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24390136
Attached To
rPH Phabricator
NuanceRequestor.php
View Options
<?php
final
class
NuanceRequestor
extends
NuanceDAO
{
protected
$data
;
protected
function
getConfiguration
()
{
return
array
(
self
::
CONFIG_AUX_PHID
=>
true
,
self
::
CONFIG_SERIALIZATION
=>
array
(
'data'
=>
self
::
SERIALIZATION_JSON
,
),
)
+
parent
::
getConfiguration
();
}
public
function
generatePHID
()
{
return
PhabricatorPHID
::
generateNewPHID
(
NuanceRequestorPHIDType
::
TYPECONST
);
}
public
function
save
()
{
if
(!
$this
->
getMailKey
())
{
$this
->
setMailKey
(
Filesystem
::
readRandomCharacters
(
20
));
}
return
parent
::
save
();
}
public
function
getURI
()
{
return
'/nuance/requestor/view/'
.
$this
->
getID
().
'/'
;
}
public
function
getPhabricatorUserPHID
()
{
return
idx
(
$this
->
getData
(),
'phabricatorUserPHID'
);
}
}
Event Timeline
Log In to Comment