| @@ -9,8 +9,9 @@ | ||
| 9 | 9 | class FrmFieldRadio extends FrmFieldType { |
| 10 | 10 | |
| 11 | 11 | /** |
| 12 | 12 | * @var string |
| 13 | + * | |
| 13 | 14 | * @since 3.0 |
| 14 | 15 | */ |
| 15 | 16 | protected $type = 'radio'; |
| 16 | 17 | |
| @@ -15,8 +16,9 @@ | ||
| 15 | 16 | protected $type = 'radio'; |
| 16 | 17 | |
| 17 | 18 | /** |
| 18 | 19 | * @var bool |
| 20 | + * | |
| 19 | 21 | * @since 3.0 |
| 20 | 22 | */ |
| 21 | 23 | protected $holds_email_values = true; |
| 22 | 24 | |
| @@ -23,8 +25,9 @@ | ||
| 23 | 25 | /** |
| 24 | 26 | * Does the html for this field label need to include "for"? |
| 25 | 27 | * |
| 26 | 28 | * @var bool |
| 29 | + * | |
| 27 | 30 | * @since 3.06.01 |
| 28 | 31 | */ |
| 29 | 32 | protected $has_for_label = false; |
| 30 | 33 | |
| @@ -32,8 +35,11 @@ | ||
| 32 | 35 | * @var bool |
| 33 | 36 | */ |
| 34 | 37 | protected $array_allowed = true; |
| 35 | 38 | |
| 39 | + /** | |
| 40 | + * @return string | |
| 41 | + */ | |
| 36 | 42 | protected function input_html() { |
| 37 | 43 | return $this->multiple_input_html(); |
| 38 | 44 | } |
| 39 | 45 | |
| @@ -53,8 +59,11 @@ | ||
| 53 | 59 | /** |
| 54 | 60 | * Get the type of field being displayed. |
| 55 | 61 | * |
| 56 | 62 | * @since 4.02.01 |
| 63 | + * | |
| 64 | + * @param array|object $field | |
| 65 | + * | |
| 57 | 66 | * @return array |
| 58 | 67 | */ |
| 59 | 68 | public function displayed_field_type( $field ) { |
| 60 | 69 | return array( |
| @@ -65,12 +74,10 @@ | ||
| 65 | 74 | /** |
| 66 | 75 | * @return array |
| 67 | 76 | */ |
| 68 | 77 | protected function extra_field_opts() { |
| 69 | - $form_id = $this->get_field_column( 'form_id' ); | |
| 70 | - | |
| 71 | 78 | return array( |
| 72 | - 'align' => FrmStylesController::get_style_val( 'radio_align', ( empty( $form_id ) ? 'default' : $form_id ) ), | |
| 79 | + 'align' => '', | |
| 73 | 80 | ); |
| 74 | 81 | } |
| 75 | 82 | |
| 76 | 83 | /** |
| @@ -88,8 +95,10 @@ | ||
| 88 | 95 | } |
| 89 | 96 | |
| 90 | 97 | /** |
| 91 | 98 | * @since 4.06 |
| 99 | + * | |
| 100 | + * @param array $args | |
| 92 | 101 | * |
| 93 | 102 | * @return void |
| 94 | 103 | */ |
| 95 | 104 | protected function show_priority_field_choices( $args = array() ) { |