Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117885931
PhabricatorProjectStatus.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
528 B
Referenced Files
None
Subscribers
None
PhabricatorProjectStatus.php
View Options
<?php
final
class
PhabricatorProjectStatus
{
const
STATUS_ACTIVE
=
0
;
const
STATUS_ARCHIVED
=
100
;
public
static
function
getNameForStatus
(
$status
)
{
$map
=
array
(
self
::
STATUS_ACTIVE
=>
pht
(
'Active'
),
self
::
STATUS_ARCHIVED
=>
pht
(
'Archived'
),
);
return
idx
(
$map
,
coalesce
(
$status
,
'?'
),
pht
(
'Unknown'
));
}
public
static
function
getStatusMap
()
{
return
array
(
self
::
STATUS_ACTIVE
=>
pht
(
'Active'
),
self
::
STATUS_ARCHIVED
=>
pht
(
'Archived'
),
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Apr 6, 2:18 AM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18831963
Default Alt Text
PhabricatorProjectStatus.php (528 B)
Attached To
Mode
rPH phabricator
Attached
Detach File
Event Timeline