Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97959007
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
Wed, Jan 8, 00:00
Size
583 B
Mime Type
text/x-php
Expires
Fri, Jan 10, 00:00 (2 d)
Engine
blob
Format
Raw Data
Handle
23458508
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