Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98041678
PhabricatorDashboardIconSet.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, Jan 9, 00:14
Size
1 KB
Mime Type
text/x-php
Expires
Sat, Jan 11, 00:14 (2 d)
Engine
blob
Format
Raw Data
Handle
23500752
Attached To
rPH Phabricator
PhabricatorDashboardIconSet.php
View Options
<?php
final
class
PhabricatorDashboardIconSet
extends
PhabricatorIconSet
{
const
ICONSETKEY
=
'dashboards'
;
public
function
getSelectIconTitleText
()
{
return
pht
(
'Choose Dashboard Icon'
);
}
protected
function
newIcons
()
{
$map
=
array
(
'fa-home'
=>
pht
(
'Home'
),
'fa-th-large'
=>
pht
(
'Blocks'
),
'fa-columns'
=>
pht
(
'Columns'
),
'fa-bookmark'
=>
pht
(
'Page Saver'
),
'fa-book'
=>
pht
(
'Knowledge'
),
'fa-bomb'
=>
pht
(
'Kaboom'
),
'fa-pie-chart'
=>
pht
(
'Apple Blueberry'
),
'fa-bar-chart'
=>
pht
(
'Serious Business'
),
'fa-bell'
=>
pht
(
'Ding Ding'
),
'fa-credit-card'
=>
pht
(
'Plastic Debt'
),
'fa-code'
=>
pht
(
'PHP is Life'
),
'fa-sticky-note'
=>
pht
(
'To Self'
),
'fa-newspaper-o'
=>
pht
(
'Stay Woke'
),
'fa-server'
=>
pht
(
'Metallica'
),
'fa-hashtag'
=>
pht
(
'Corned Beef'
),
'fa-group'
=>
pht
(
'Triplets'
),
);
$icons
=
array
();
foreach
(
$map
as
$key
=>
$label
)
{
$icons
[]
=
id
(
new
PhabricatorIconSetIcon
())
->
setKey
(
$key
)
->
setLabel
(
$label
);
}
return
$icons
;
}
}
Event Timeline
Log In to Comment