Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2896427
PhabricatorCalendarImportQueueLogType.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
945 B
Referenced Files
None
Subscribers
None
PhabricatorCalendarImportQueueLogType.php
View Options
<?php
final
class
PhabricatorCalendarImportQueueLogType
extends
PhabricatorCalendarImportLogType
{
const
LOGTYPE
=
'queue'
;
public
function
getDisplayType
(
PhabricatorUser
$viewer
,
PhabricatorCalendarImportLog
$log
)
{
return
pht
(
'Queued'
)
;
}
public
function
getDisplayDescription
(
PhabricatorUser
$viewer
,
PhabricatorCalendarImportLog
$log
)
{
$size
=
$log
->
getParameter
(
'data.size'
)
;
$limit
=
$log
->
getParameter
(
'data.limit'
)
;
return
pht
(
'Queued for background import: data size (%s) exceeds limit for '
.
'immediate processing (%s).'
,
phutil_format_bytes
(
$size
)
,
phutil_format_bytes
(
$limit
)
)
;
}
public
function
getDisplayIcon
(
PhabricatorUser
$viewer
,
PhabricatorCalendarImportLog
$log
)
{
return
'fa-sort-amount-desc'
;
}
public
function
getDisplayColor
(
PhabricatorUser
$viewer
,
PhabricatorCalendarImportLog
$log
)
{
return
'blue'
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Jan 19 2025, 23:04 (6 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1129691
Default Alt Text
PhabricatorCalendarImportQueueLogType.php (945 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment