Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2895623
ArcanistSetting.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
976 B
Referenced Files
None
Subscribers
None
ArcanistSetting.php
View Options
<?php
abstract
class
ArcanistSetting
extends
Phobject
{
final
public
function
getSettingKey
(
)
{
return
$this
->
getPhobjectClassConstant
(
'SETTINGKEY'
,
32
)
;
}
public
function
getAliases
(
)
{
return
array
(
)
;
}
abstract
public
function
getHelp
(
)
;
abstract
public
function
getType
(
)
;
public
function
getExample
(
)
{
return
null
;
}
final
public
function
getLegacyDictionary
(
)
{
$result
=
array
(
'type'
=>
$this
->
getType
(
)
,
'help'
=>
$this
->
getHelp
(
)
,
)
;
$example
=
$this
->
getExample
(
)
;
if
(
$example
!==
null
)
{
$result
[
'example'
]
=
$example
;
}
$aliases
=
$this
->
getAliases
(
)
;
if
(
$aliases
)
{
$result
[
'legacy'
]
=
head
(
$aliases
)
;
}
return
$result
;
}
final
public
static
function
getAllSettings
(
)
{
return
id
(
new
PhutilClassMapQuery
(
)
)
->
setAncestorClass
(
__CLASS__
)
->
setUniqueMethod
(
'getSettingKey'
)
->
setSortMethod
(
'getSettingKey'
)
->
execute
(
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Jan 19 2025, 21:46 (6 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1060124
Default Alt Text
ArcanistSetting.php (976 B)
Attached To
Mode
rARC Arcanist
Attached
Detach File
Event Timeline
Log In to Comment