Ejemplo n.º 1
0
 public static function get_us_states()
 {
     _deprecated_function(__FUNCTION__, '2.0', 'FrmFieldsHelper::get_us_states');
     return FrmFieldsHelper::get_us_states();
 }
Ejemplo n.º 2
0
 public static function get_bulk_prefilled_opts(array &$prepop)
 {
     $prepop[__('Countries', 'formidable')] = FrmFieldsHelper::get_countries();
     $states = FrmFieldsHelper::get_us_states();
     $state_abv = array_keys($states);
     sort($state_abv);
     $prepop[__('U.S. State Abbreviations', 'formidable')] = $state_abv;
     $states = array_values($states);
     sort($states);
     $prepop[__('U.S. States', 'formidable')] = $states;
     unset($state_abv, $states);
     $prepop[__('Age', 'formidable')] = array(__('Under 18', 'formidable'), __('18-24', 'formidable'), __('25-34', 'formidable'), __('35-44', 'formidable'), __('45-54', 'formidable'), __('55-64', 'formidable'), __('65 or Above', 'formidable'), __('Prefer Not to Answer', 'formidable'));
     $prepop[__('Satisfaction', 'formidable')] = array(__('Very Satisfied', 'formidable'), __('Satisfied', 'formidable'), __('Neutral', 'formidable'), __('Unsatisfied', 'formidable'), __('Very Unsatisfied', 'formidable'), __('N/A', 'formidable'));
     $prepop[__('Importance', 'formidable')] = array(__('Very Important', 'formidable'), __('Important', 'formidable'), __('Neutral', 'formidable'), __('Somewhat Important', 'formidable'), __('Not at all Important', 'formidable'), __('N/A', 'formidable'));
     $prepop[__('Agreement', 'formidable')] = array(__('Strongly Agree', 'formidable'), __('Agree', 'formidable'), __('Neutral', 'formidable'), __('Disagree', 'formidable'), __('Strongly Disagree', 'formidable'), __('N/A', 'formidable'));
     $prepop = apply_filters('frm_bulk_field_choices', $prepop);
 }