Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2893343
PhabricatorCalendarImportICSWarningLogType.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
910 B
Referenced Files
None
Subscribers
None
PhabricatorCalendarImportICSWarningLogType.php
View Options
<?php
final
class
PhabricatorCalendarImportICSWarningLogType
extends
PhabricatorCalendarImportLogType
{
const
LOGTYPE
=
'ics.warning'
;
public
function
getDisplayType
(
PhabricatorUser
$viewer
,
PhabricatorCalendarImportLog
$log
)
{
return
pht
(
'ICS Parser Warning'
)
;
}
public
function
getDisplayDescription
(
PhabricatorUser
$viewer
,
PhabricatorCalendarImportLog
$log
)
{
return
pht
(
'Warning ("%s") while parsing ICS data (near line %s): %s'
,
$log
->
getParameter
(
'ics.warning.code'
)
,
$log
->
getParameter
(
'ics.warning.line'
)
,
$log
->
getParameter
(
'ics.warning.message'
)
)
;
}
public
function
getDisplayIcon
(
PhabricatorUser
$viewer
,
PhabricatorCalendarImportLog
$log
)
{
return
'fa-exclamation-triangle'
;
}
public
function
getDisplayColor
(
PhabricatorUser
$viewer
,
PhabricatorCalendarImportLog
$log
)
{
return
'yellow'
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 18:15 (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1127335
Default Alt Text
PhabricatorCalendarImportICSWarningLogType.php (910 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment