PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 5.0
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v5.0
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/models/FrmEntryShortcodeFormatter.php +0 -21 6.35.0 View file →
@@ -87,11 +87,8 @@
87 87 *
88 88 * @since 2.04
89 89 *
90 90 * @param $form_id
91 - * @param int|string $form_id
92 - *
93 - * @return void
94 91 */
95 92 protected function init_form_id( $form_id ) {
96 93 $this->form_id = (int) $form_id;
97 94 }
@@ -99,10 +96,8 @@
99 96 /**
100 97 * Initialize the fields property
101 98 *
102 99 * @since 2.04
103 - *
104 - * @return void
105 100 */
106 101 protected function init_fields() {
107 102 $this->fields = FrmField::get_all_for_form( $this->form_id, '', 'exclude', 'exclude' );
108 103 }
@@ -112,10 +107,8 @@
112 107 *
113 108 * @since 2.05
114 109 *
115 110 * @param array $atts
116 - *
117 - * @return void
118 111 */
119 112 protected function init_plain_text( $atts ) {
120 113 if ( isset( $atts['plain_text'] ) && $atts['plain_text'] ) {
121 114 $this->is_plain_text = true;
@@ -127,10 +120,8 @@
127 120 *
128 121 * @since 2.04
129 122 *
130 123 * @param array $atts
131 - *
132 - * @return void
133 124 */
134 125 protected function init_format( $atts ) {
135 126 if ( isset( $atts['format'] ) && is_string( $atts['format'] ) && $atts['format'] !== '' ) {
136 127 $this->format = $atts['format'];
@@ -142,10 +133,8 @@
142 133 /**
143 134 * Initialize the table_generator property
144 135 *
145 136 * @since 2.04
146 - *
147 - * @return void
148 137 */
149 138 protected function init_table_generator() {
150 139 $this->table_generator = new FrmTableHTMLGenerator( 'shortcode' );
151 140 }
@@ -174,10 +163,8 @@
174 163 /**
175 164 * Return the default HTML array
176 165 *
177 166 * @since 2.04
178 - *
179 - * @return array
180 167 */
181 168 protected function get_array() {
182 169 foreach ( $this->fields as $field ) {
183 170 $this->add_field_array( $field );
@@ -189,10 +176,8 @@
189 176 /**
190 177 * Return the default plain text for an email message
191 178 *
192 179 * @since 2.04
193 - *
194 - * @return string
195 180 */
196 181 protected function get_plain_text() {
197 182 return $this->generate_content_for_all_fields();
198 183 }
@@ -200,10 +185,8 @@
200 185 /**
201 186 * Return the default HTML for an email message
202 187 *
203 188 * @since 2.04
204 - *
205 - * @return string
206 189 */
207 190 protected function get_table() {
208 191 $content = $this->table_generator->generate_table_header();
209 192 $content .= $this->generate_content_for_all_fields();
@@ -287,10 +270,8 @@
287 270 *
288 271 * @since 2.04
289 272 *
290 273 * @param stdClass $field
291 - *
292 - * @return void
293 274 */
294 275 protected function add_field_array( $field ) {
295 276 if ( in_array( $field->type, $this->skip_fields ) ) {
296 277 return;
@@ -305,10 +286,8 @@
305 286 * @since 2.04
306 287 *
307 288 * @param stdClass $field
308 289 * @param string $value
309 - *
310 - * @return void
311 290 */
312 291 protected function add_single_field_array( $field, $value ) {
313 292 $array = array(
314 293 'label' => '[' . $field->id . ' show=field_label]',