Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1102065
ManiphestTaskPoints.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
583 B
Referenced Files
None
Subscribers
None
ManiphestTaskPoints.php
View Options
<?php
final
class
ManiphestTaskPoints
extends
Phobject
{
public
static
function
getIsEnabled
()
{
$config
=
self
::
getPointsConfig
();
return
idx
(
$config
,
'enabled'
);
}
public
static
function
getPointsLabel
()
{
$config
=
self
::
getPointsConfig
();
return
idx
(
$config
,
'label'
,
pht
(
'Points'
));
}
public
static
function
getPointsActionLabel
()
{
$config
=
self
::
getPointsConfig
();
return
idx
(
$config
,
'action'
,
pht
(
'Change Points'
));
}
private
static
function
getPointsConfig
()
{
return
PhabricatorEnv
::
getEnvConfig
(
'maniphest.points'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Jun 30, 4:11 PM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
274169
Default Alt Text
ManiphestTaskPoints.php (583 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment