/**
  * registrations_requiring_pre_approval
  * @param array $registrations_requiring_pre_approval
  * @return \EE_Form_Section_Proper
  */
 private function _registrations_requiring_pre_approval($registrations_requiring_pre_approval = array())
 {
     $events_requiring_pre_approval = '';
     foreach ($registrations_requiring_pre_approval as $registration) {
         if ($registration instanceof EE_Registration && $registration->event() instanceof EE_Event) {
             $events_requiring_pre_approval[$registration->event()->ID()] = EEH_HTML::li(EEH_HTML::span('', '', 'dashicons dashicons-marker ee-icon-size-16 orange-text') . EEH_HTML::span($registration->event()->name(), '', 'orange-text'));
         }
     }
     return new EE_Form_Section_Proper(array('subsections' => array('default_hidden_inputs' => $this->reg_step_hidden_inputs(), 'extra_hidden_inputs' => $this->_extra_hidden_inputs()), 'layout_strategy' => new EE_Template_Layout(array('layout_template_file' => SPCO_REG_STEPS_PATH . $this->_slug . DS . 'events_requiring_pre_approval.template.php', 'template_args' => apply_filters('FHEE__EE_SPCO_Reg_Step_Payment_Options___sold_out_events__template_args', array('events_requiring_pre_approval' => implode('', $events_requiring_pre_approval), 'events_requiring_pre_approval_msg' => apply_filters('FHEE__EE_SPCO_Reg_Step_Payment_Options___events_requiring_pre_approval__events_requiring_pre_approval_msg', __('The following events do not require payment at this time and will not be billed during this transaction. Billing will only occur after the attendee has been approved by the event organizer. You will be notified when your registration has been processed. If this is a free event, then no billing will occur.', 'event_espresso'))))))));
 }
 /**
  *    generate_sortable_list_of_template_parts
  *
  *    creates an HTML list (<ul>) with list items (<li>) for each template part,
  *    in a format that can be used as a sortable list in the admin
  *
  * @access public
  * @param string $list_css_id
  * @param string $list_css_class
  * @param string $list_item_css_class
  * @param string $list_item_css_id_prefix
  * @return string
  */
 public function generate_sortable_list_of_template_parts($list_css_id = '', $list_css_class = '', $list_item_css_class = '', $list_item_css_id_prefix = '')
 {
     EE_Registry::instance()->load_helper('HTML');
     $event_archive_display_order = EEH_HTML::ul($list_css_id, $list_css_class);
     $this->template_parts->rewind();
     // loop through template parts and add template content
     while ($this->template_parts->valid()) {
         $event_archive_display_order .= EEH_HTML::li(EEH_HTML::span('', '', 'dashicons dashicons-arrow-up-alt2') . EEH_HTML::span('', '', 'dashicons dashicons-arrow-down-alt2') . $this->template_parts->current()->label(), $list_item_css_id_prefix . $this->template_parts->current()->name(), $list_item_css_class);
         $this->template_parts->next();
     }
     $event_archive_display_order .= EEH_HTML::ulx();
     return $event_archive_display_order;
 }