コード例 #1
0
 public function postDispatch()
 {
     parent::postDispatch();
     Zwe_Model_Online::refreshOnline(null, $this->view->luogo->IDLocation);
 }
コード例 #2
0
 public function indexAction()
 {
     $this->view->online = Zwe_Model_Online::getUsersOnline();
 }
コード例 #3
0
 public function preDispatch(Zend_Controller_Request_Abstract $request)
 {
     if (Zend_Auth::getInstance()->hasIdentity()) {
         Zwe_Model_Online::refreshOnline();
     }
 }
コード例 #4
0
 public function postDispatch()
 {
     Zwe_Model_Online::refreshOnline(null, 0);
 }