Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81397210
DrydockLeaseActivationFailureLogType.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
Thu, Sep 5, 19:33
Size
487 B
Mime Type
text/x-php
Expires
Sat, Sep 7, 19:33 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20558620
Attached To
rPH Phabricator
DrydockLeaseActivationFailureLogType.php
View Options
<?php
final
class
DrydockLeaseActivationFailureLogType
extends
DrydockLogType
{
const
LOGCONST
=
'core.lease.activation-failure'
;
public
function
getLogTypeName
()
{
return
pht
(
'Activation Failed'
);
}
public
function
getLogTypeIcon
(
array
$data
)
{
return
'fa-times red'
;
}
public
function
renderLog
(
array
$data
)
{
$class
=
idx
(
$data
,
'class'
);
$message
=
idx
(
$data
,
'message'
);
return
pht
(
'Lease activation failed: [%s] %s'
,
$class
,
$message
);
}
}
Event Timeline
Log In to Comment