Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F72135163
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
Sun, Jul 14, 22:04
Size
574 B
Mime Type
text/x-php
Expires
Tue, Jul 16, 22:04 (1 d, 20 h)
Engine
blob
Format
Raw Data
Handle
19031702
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