/** * If a subsection_template_file was provided upon construction, uses that to layout the subsection. Otherwise uses parent. * @see EE_Div_Per_Section_Layout::layout_subsection() for documentation * @param EE_Form_Section_Proper $form_section * @return string */ public function layout_subsection($form_section) { if ($this->_subsection_template_file) { EE_Registry::instance()->load_helper('Template'); return EEH_Template::locate_template($this->_subsection_template_file, $this->template_args(), TRUE, TRUE); } return parent::layout_subsection($form_section); }
/** * If a subsection_template_file was provided upon construction, uses that to layout the subsection. Otherwise uses parent. * @see EE_Div_Per_Section_Layout::layout_subsection() for documentation * @param EE_Form_Section_Proper $form_section * @return string */ public function layout_subsection($form_section) { if ($this->_subsection_template_file) { return EEH_Template::locate_template($this->_subsection_template_file, $this->template_args(), TRUE, TRUE); } return parent::layout_subsection($form_section); }