public function __construct($template_file, $args = array(), $options_array = array()) { EE_Registry::instance()->load_helper('Template'); $html = EEH_Template::locate_template($template_file, $args); // echo " filepath:$template_file html $html"; parent::__construct($html, $options_array); }
public function __construct($template_file, $args = array(), $options_array = array()) { $html = EEH_Template::locate_template($template_file, $args); // echo " filepath:$template_file html $html"; parent::__construct($html, $options_array); }