[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/notification/view/ -> PhabricatorNotificationStatusView.php (source)

   1  <?php
   2  
   3  final class PhabricatorNotificationStatusView extends AphrontTagView {
   4  
   5    protected function getTagAttributes() {
   6      if (!$this->getID()) {
   7        $this->setID(celerity_generate_unique_node_id());
   8      }
   9  
  10      Javelin::initBehavior(
  11        'aphlict-status',
  12        array(
  13          'nodeID' => $this->getID(),
  14          'pht' => array(
  15            'setup' => pht('Setting Up Client'),
  16            'start' => pht('Starting Client'),
  17            'ready' => pht('Ready to Connect'),
  18            'connecting' => pht('Connecting...'),
  19            'connected' => pht('Connected'),
  20            'error' => pht('Connection Error'),
  21            'client' => pht('Connected Locally'),
  22  
  23            'error.flash.xdomain' => pht(
  24              'Unable to connect to Flash Policy Server. Check that the '.
  25              'notification server is running and port 843 is not firewalled.'),
  26            'error.flash.disconnected' => pht(
  27              'Disconnected from notification server.'),
  28          ),
  29        ));
  30  
  31      return array(
  32        'class' => 'aphlict-connection-status',
  33      );
  34    }
  35  
  36  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1