Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93182241
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
Tue, Nov 26, 20:10
Size
793 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 20:10 (2 d)
Engine
blob
Format
Raw Data
Handle
22591197
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