Exemplo n.º 1
0
 private function getAppInfo($appId)
 {
     try {
         $appinfo = new AppInfo();
         return $appinfo->getAppInfo($appId);
     } catch (Exception $e) {
         return "";
     }
 }
Exemplo n.º 2
0
 public function whitelistAction()
 {
     $array_of_params = $this->_request->getParams();
     $appserver = new AppInfo();
     $app = $appserver->getAppInfo($array_of_params['appid']);
     $this->view->appName = $app->appName;
     $this->view->appID = $app->appID;
     $this->view->wl = $app->lswhitelist;
     //var_dump($app->lswhitelist);die();
     $this->view->frmSearch = $this->view->render('index/whitelist.phtml');
     $this->view->container = $this->view->render('index/index.phtml');
 }