/** * * * @package Kopa * @subpackage Core * @author thethangtran <*****@*****.**> * @since 1.0.0 * */ protected function get_control() { $html = ''; if ($this->template_hierarchy) { $this->value = is_array($this->value) ? $this->value : unserialize($this->value); $html = KopaLayout::get_form($this->template_hierarchy, $this->value, $this->name); } else { $html = __('Parameter template_hierarchy is missing.', kopa_get_domain()); } return $html; }