Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F21409794
PhabricatorCalendarIconSet.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
PhabricatorCalendarIconSet.php
View Options
<?php
final
class
PhabricatorCalendarIconSet
extends
PhabricatorIconSet
{
const
ICONSETKEY
=
'calendar.event'
;
public
function
getSelectIconTitleText
()
{
return
pht
(
'Choose Event Icon'
);
}
protected
function
newIcons
()
{
$map
=
array
(
'fa-calendar'
=>
pht
(
'Default'
),
'fa-glass'
=>
pht
(
'Party'
),
'fa-plane'
=>
pht
(
'Travel'
),
'fa-plus-square'
=>
pht
(
'Health / Appointment'
),
'fa-rocket'
=>
pht
(
'Sabatical / Leave'
),
'fa-home'
=>
pht
(
'Working From Home'
),
'fa-tree'
=>
pht
(
'Holiday'
),
'fa-gamepad'
=>
pht
(
'Staycation'
),
'fa-coffee'
=>
pht
(
'Coffee Meeting'
),
'fa-film'
=>
pht
(
'Movie'
),
'fa-users'
=>
pht
(
'Meeting'
),
'fa-cutlery'
=>
pht
(
'Meal'
),
'fa-paw'
=>
pht
(
'Pet Activity'
),
'fa-institution'
=>
pht
(
'Official Business'
),
'fa-bus'
=>
pht
(
'Field Trip'
),
'fa-microphone'
=>
pht
(
'Conference'
),
);
$icons
=
array
();
foreach
(
$map
as
$key
=>
$label
)
{
$icons
[]
=
id
(
new
PhabricatorIconSetIcon
())
->
setKey
(
$key
)
->
setLabel
(
$label
);
}
return
$icons
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Jul 31, 11:26 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
16432422
Default Alt Text
PhabricatorCalendarIconSet.php (1 KB)
Attached To
Mode
rP Phabricator
Attached
Detach File
Event Timeline
Log In to Comment