public function generate_unit_manager() { $tpl = 'internal_unit_manager_default'; $this->unit_types = wpl_units::get_unit_types(); $this->units = wpl_units::get_units(4, '', ''); /** import tpl **/ parent::render($this->tpl_path, $tpl); }