private function parse() { $this->addJSData('settings', $this->settings); $this->addJSData('items', $this->items); $this->tpl->assign('locationItems', $this->items); $this->tpl->assign('locationSettings', $this->settings); }