Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1517473
PhabricatorNotificationStatusView.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
PhabricatorNotificationStatusView.php
View Options
<?php
final
class
PhabricatorNotificationStatusView
extends
AphrontTagView
{
protected
function
getTagAttributes
()
{
if
(!
$this
->
getID
())
{
$this
->
setID
(
celerity_generate_unique_node_id
());
}
Javelin
::
initBehavior
(
'aphlict-status'
,
array
(
'nodeID'
=>
$this
->
getID
(),
'pht'
=>
array
(
'setup'
=>
pht
(
'Setting Up Client'
),
'start'
=>
pht
(
'Starting Client'
),
'ready'
=>
pht
(
'Ready to Connect'
),
'connecting'
=>
pht
(
'Connecting...'
),
'connected'
=>
pht
(
'Connected'
),
'error'
=>
pht
(
'Connection Error'
),
'client'
=>
pht
(
'Connected Locally'
),
'error.flash.xdomain'
=>
pht
(
'Unable to connect to Flash Policy Server. Check that the '
.
'notification server is running and port 843 is not firewalled.'
),
'error.flash.disconnected'
=>
pht
(
'Disconnected from notification server.'
),
),
));
return
array
(
'class'
=>
'aphlict-connection-status'
,
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Jul 14, 1:01 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
349015
Default Alt Text
PhabricatorNotificationStatusView.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment