$this->reponsedata[$indexname]->yg_id = $this->rawdata['yg_id'] ? $this->rawdata['yg_id'] : null; $this->reponsedata[$indexname]->wid = $this->rawdata['wid'] ? $this->rawdata['wid'] : null; if ($this->fields) { $this->reponsedata = array_merge($this->reponsedata, $this->fields); } // NEW Parameter-API: $this->params = $this->rawdata['params']; $koala = new Koala(); if ($this->code != '') { sLog()->debug($action); // Create AJAX-Responder Object $koala->setResponderData($this->reponsedata); $koala->setResponderHandler($this->handler); require_once $this->approot . $this->code; // Initiate sending of data } else { // Throw error when no matching code found... $koala->log('No matching method found for "' . strtoupper($this->handler) . '"!'); $koala->log('XX $this->id: ' . $this->id); $koala->log('XX $this->name: ' . $this->name); $koala->log('XX $this->value: ' . $this->value); $koala->log('XX $this->event: ' . $this->event); $koala->log('XX $this->handler: ' . $this->handler); $koala->log('XX $this->type: ' . $this->type); $koala->log('XX $this->property: ' . $this->property); $koala->log('XX $this->yg_id: ' . $this->yg_id); } $koala->go(); // Dump all JavaScript to Client... $smarty->assign('scriptoutput', $scriptoutput); $smarty->display('file:' . $this->page_template);