Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F12660895
ArcanistBuildPlanRef.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
979 B
Referenced Files
None
Subscribers
None
ArcanistBuildPlanRef.php
View Options
<?php
final
class
ArcanistBuildPlanRef
extends
ArcanistRef
implements
ArcanistDisplayRefInterface
{
private
$parameters
;
public
function
getRefDisplayName
()
{
return
$this
->
getDisplayRefObjectName
();
}
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
getDisplayRefObjectName
()
{
return
pht
(
'Build Plan %d'
,
$this
->
getID
());
}
public
function
getDisplayRefTitle
()
{
return
$this
->
getName
();
}
public
function
getBehavior
(
$behavior_key
,
$default
=
null
)
{
return
idxv
(
$this
->
parameters
,
array
(
'fields'
,
'behaviors'
,
$behavior_key
,
'value'
),
$default
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Nov 28, 15:42 (18 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1079917
Default Alt Text
ArcanistBuildPlanRef.php (979 B)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline
Log In to Comment