Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99427306
ManiphestTaskPoints.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
Fri, Jan 24, 11:37
Size
583 B
Mime Type
text/x-php
Expires
Sun, Jan 26, 11:37 (2 d)
Engine
blob
Format
Raw Data
Handle
23798268
Attached To
rPH Phabricator
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'
);
}
}
Event Timeline
Log In to Comment