Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77149780
DrydockLeaseWaitingForResourcesLogType.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
Mon, Aug 12, 18:13
Size
574 B
Mime Type
text/x-php
Expires
Wed, Aug 14, 18:13 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
19828053
Attached To
rPH Phabricator
DrydockLeaseWaitingForResourcesLogType.php
View Options
<?php
final
class
DrydockLeaseWaitingForResourcesLogType
extends
DrydockLogType
{
const
LOGCONST
=
'core.lease.waiting-for-resources'
;
public
function
getLogTypeName
()
{
return
pht
(
'Waiting For Resource'
);
}
public
function
getLogTypeIcon
(
array
$data
)
{
return
'fa-clock-o yellow'
;
}
public
function
renderLog
(
array
$data
)
{
$viewer
=
$this
->
getViewer
();
$blueprint_phids
=
idx
(
$data
,
'blueprintPHIDs'
,
array
());
return
pht
(
'Waiting for available resources from: %s.'
,
$viewer
->
renderHandleList
(
$blueprint_phids
));
}
}
Event Timeline
Log In to Comment