Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F7859808
ArcanistTaskRef.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
846 B
Referenced Files
None
Subscribers
None
ArcanistTaskRef.php
View Options
<?php
final
class
ArcanistTaskRef
extends
ArcanistRef
implements
ArcanistDisplayRefInterface
{
private
$parameters
;
public
function
getRefDisplayName
()
{
return
pht
(
'Task "%s"'
,
$this
->
getMonogram
());
}
public
static
function
newFromConduit
(
array
$parameters
)
{
$ref
=
new
self
();
$ref
->
parameters
=
$parameters
;
return
$ref
;
}
public
function
getID
()
{
return
idx
(
$this
->
parameters
,
'id'
);
}
public
function
getPHID
()
{
return
idx
(
$this
->
parameters
,
'phid'
);
}
public
function
getName
()
{
return
idxv
(
$this
->
parameters
,
array
(
'fields'
,
'name'
));
}
public
function
getMonogram
()
{
return
'T'
.
$this
->
getID
();
}
public
function
getDisplayRefObjectName
()
{
return
$this
->
getMonogram
();
}
public
function
getDisplayRefTitle
()
{
return
$this
->
getName
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 13, 17:02 (1 d, 1 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
870835
Default Alt Text
ArcanistTaskRef.php (846 B)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline
Log In to Comment