Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93630756
PhabricatorPhurlConfigOptions.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
Sat, Nov 30, 07:11
Size
793 B
Mime Type
text/x-php
Expires
Mon, Dec 2, 07:11 (2 d)
Engine
blob
Format
Raw Data
Handle
22679171
Attached To
rPH Phabricator
PhabricatorPhurlConfigOptions.php
View Options
<?php
final
class
PhabricatorPhurlConfigOptions
extends
PhabricatorApplicationConfigOptions
{
public
function
getName
()
{
return
pht
(
'Phurl'
);
}
public
function
getDescription
()
{
return
pht
(
'Options for Phurl.'
);
}
public
function
getFontIcon
()
{
return
'fa-link'
;
}
public
function
getGroup
()
{
return
'apps'
;
}
public
function
getOptions
()
{
return
array
(
$this
->
newOption
(
'phurl.short-uri'
,
'string'
,
null
)
->
setLocked
(
true
)
->
setSummary
(
pht
(
'URI that Phurl will use to shorten URLs.'
))
->
setDescription
(
pht
(
'Set the URI that Phurl will use to share shortened URLs.'
))
->
addExample
(
'https://some-very-short-domain.museum/'
,
pht
(
'Valid Setting'
)),
);
}
}
Event Timeline
Log In to Comment