Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2359564
NuanceRequestor.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
797 B
Referenced Files
None
Subscribers
None
NuanceRequestor.php
View Options
<?php
final
class
NuanceRequestor
extends
NuanceDAO
{
protected
$data
;
public
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'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Sep 16, 3:18 PM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
439437
Default Alt Text
NuanceRequestor.php (797 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment