/** * Displays version of Jaws * * @access public * @return string Jaws version */ function Display() { $this->objServer = Jaws_WebSocket_Server::getInstance('127.0.0.1', 3434); $this->objServer->open(array($this, 'getData')); $model = $this->gadget->model->load(); $version = $model->GetJawsVersion(); return _t('SKELETON_DISPLAY_MESSAGE', $version); }
/** * Displays no admin action * * @access public * @return string Jaws version */ function Display() { $objServer = Jaws_WebSocket_Server::getInstance('0.0.0.0', 3434); $objServer->open(array($this, 'getData')); return _t('SKELETON_ADMIN_MESSAGE'); }