Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F7862240
ArcanistTaskRef.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
796 B
Referenced Files
None
Subscribers
None
ArcanistTaskRef.php
View Options
<?php
final
class
ArcanistTaskRef
extends
ArcanistRef
{
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
();
}
protected
function
buildRefView
(
ArcanistRefView
$view
)
{
$view
->
setObjectName
(
$this
->
getMonogram
())
->
setTitle
(
$this
->
getName
());
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 13, 20:16 (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
871100
Default Alt Text
ArcanistTaskRef.php (796 B)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline
Log In to Comment