protected function generate_slide($category) { $tpl = wpl_flex::get_kind_tpl($this->tpl_path, 'internal_slide', $this->kind); $this->fields = wpl_property::get_pwizard_fields($category->id, $this->kind, 1); $this->field_category = $category; /** import tpl **/ parent::render($this->tpl_path, $tpl); }