Code Duplication    Length = 13-14 lines in 3 locations

admin_pages/registrations/Registrations_Admin_Page.core.php 3 locations

@@ 1814-1826 (lines=13) @@
1811
     * @param        string $output
1812
     * @return        string
1813
     */
1814
    public function form_before_question_group($output)
1815
    {
1816
        EE_Error::doing_it_wrong(__CLASS__ . '::' . __FUNCTION__,
1817
            __('This method would have been protected but was used on a filter callback'
1818
               . 'so needed to be public. Please discontinue usage as it will be removed soon.', 'event_espresso'),
1819
            '4.8.32.rc.000');
1820
        return '
1821
	<table class="form-table ee-width-100">
1822
		<tbody>
1823
			';
1824
    }
1825
1826
1827
    /**
1828
     * form_after_question_group
1829
     *
@@ 1869-1882 (lines=14) @@
1866
     * @param        string $label
1867
     * @return        string
1868
     */
1869
    public function form_form_field_label_wrap($label)
1870
    {
1871
        EE_Error::doing_it_wrong(__CLASS__ . '::' . __FUNCTION__,
1872
            __('This method would have been protected but was used on a filter callback'
1873
               . 'so needed to be public. Please discontinue usage as it will be removed soon.', 'event_espresso'),
1874
            '4.8.32.rc.000');
1875
        return '
1876
			<tr>
1877
				<th>
1878
					' . $label . '
1879
				</th>';
1880
    }
1881
1882
1883
    /**
1884
     * form_form_field_input__wrap
1885
     *
@@ 1891-1904 (lines=14) @@
1888
     * @param        string $input
1889
     * @return        string
1890
     */
1891
    public function form_form_field_input__wrap($input)
1892
    {
1893
        EE_Error::doing_it_wrong(__CLASS__ . '::' . __FUNCTION__,
1894
            __('This method would have been protected but was used on a filter callback'
1895
               . 'so needed to be public. Please discontinue usage as it will be removed soon.', 'event_espresso'),
1896
            '4.8.32.rc.000');
1897
        return '
1898
				<td class="reg-admin-attendee-questions-input-td disabled-input">
1899
					' . $input . '
1900
				</td>
1901
			</tr>';
1902
    }
1903
1904
1905
    /**
1906
     * Updates the registration's custom questions according to the form info, if the form is submitted.
1907
     * If it's not a post, the "view_registrations" route will be called next on the SAME request