Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F461319
PhabricatorNotificationConfigOptions.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
PhabricatorNotificationConfigOptions.php
View Options
<?php
final
class
PhabricatorNotificationConfigOptions
extends
PhabricatorApplicationConfigOptions
{
public
function
getName
()
{
return
pht
(
'Notifications'
);
}
public
function
getDescription
()
{
return
pht
(
'Configure real-time notifications.'
);
}
public
function
getIcon
()
{
return
'fa-bell'
;
}
public
function
getGroup
()
{
return
'core'
;
}
public
function
getOptions
()
{
return
array
(
$this
->
newOption
(
'notification.enabled'
,
'bool'
,
false
)
->
setBoolOptions
(
array
(
pht
(
'Enable Real-Time Notifications'
),
pht
(
'Disable Real-Time Notifications'
),
))
->
setSummary
(
pht
(
'Enable real-time notifications.'
))
->
setDescription
(
pht
(
"Enable real-time notifications. You must also run a Node.js "
.
"based notification server for this to work. Consult the "
.
"documentation in 'Notifications User Guide: Setup and "
.
"Configuration' for instructions."
)),
$this
->
newOption
(
'notification.client-uri'
,
'string'
,
'http://localhost:22280/'
)
->
setDescription
(
pht
(
'Location of the client server.'
)),
$this
->
newOption
(
'notification.server-uri'
,
'string'
,
'http://localhost:22281/'
)
->
setDescription
(
pht
(
'Location of the notification receiver server.'
)),
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 5, 4:43 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
72130
Default Alt Text
PhabricatorNotificationConfigOptions.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment