Esempio n. 1
0
 function execute($caveID, $caves)
 {
     // create View
     $view = new Donations_Index_View($_SESSION['player']->language, $_SESSION['player']->template);
     if ($this->error) {
         $view->setError($this->error);
     }
     return array($view->getTitle(), $view->getContent());
 }
Esempio n. 2
0
 function execute($caveID, $caves)
 {
     global $params;
     // create View
     $view = new Donations_Index_View($params->SESSION->player->language, $params->SESSION->player->template);
     if ($this->error) {
         $view->setError($this->error);
     }
     return array($view->getTitle(), $view->getContent());
 }