Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F79205928
HeraldRuleTypeConfig.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
Sun, Aug 25, 06:45
Size
396 B
Mime Type
text/x-php
Expires
Tue, Aug 27, 06:45 (2 d)
Engine
blob
Format
Raw Data
Handle
20162817
Attached To
rPH Phabricator
HeraldRuleTypeConfig.php
View Options
<?php
final
class
HeraldRuleTypeConfig
{
const
RULE_TYPE_GLOBAL
=
'global'
;
const
RULE_TYPE_OBJECT
=
'object'
;
const
RULE_TYPE_PERSONAL
=
'personal'
;
public
static
function
getRuleTypeMap
()
{
$map
=
array
(
self
::
RULE_TYPE_PERSONAL
=>
pht
(
'Personal'
),
self
::
RULE_TYPE_OBJECT
=>
pht
(
'Object'
),
self
::
RULE_TYPE_GLOBAL
=>
pht
(
'Global'
),
);
return
$map
;
}
}
Event Timeline
Log In to Comment