| @@ -195,25 +195,8 @@ | ||
| 195 | 195 | } else { |
| 196 | 196 | $this->format = 'table'; |
| 197 | 197 | } |
| 198 | 198 | } |
| 199 | - | |
| 200 | - /** | |
| 201 | - * Allows modifying the format property of FrmEntryFormatter object. | |
| 202 | - * | |
| 203 | - * @since 5.0.16 | |
| 204 | - * | |
| 205 | - * @param string $format The format. | |
| 206 | - * @param array $args Includes `atts`, `entry`. | |
| 207 | - */ | |
| 208 | - $this->format = apply_filters( | |
| 209 | - 'frm_entry_formatter_format', | |
| 210 | - $this->format, | |
| 211 | - array( | |
| 212 | - 'atts' => $atts, | |
| 213 | - 'entry' => $this->entry, | |
| 214 | - ) | |
| 215 | - ); | |
| 216 | 199 | } |
| 217 | 200 | |
| 218 | 201 | /** |
| 219 | 202 | * Set the array_key property that sets whether the keys in the |
| @@ -399,26 +382,9 @@ | ||
| 399 | 382 | } else { |
| 400 | 383 | $content = ''; |
| 401 | 384 | } |
| 402 | 385 | |
| 403 | - /** | |
| 404 | - * Allows modifying the formatted entry values content. | |
| 405 | - * | |
| 406 | - * @since 5.0.16 | |
| 407 | - * | |
| 408 | - * @param string $content The formatted entry values content. | |
| 409 | - * @param array $args Includes `entry`, `atts`, `format`, `entry_values`. | |
| 410 | - */ | |
| 411 | - return apply_filters( | |
| 412 | - 'frm_formatted_entry_values_content', | |
| 413 | - $content, | |
| 414 | - array( | |
| 415 | - 'entry' => $this->entry, | |
| 416 | - 'atts' => $this->atts, | |
| 417 | - 'format' => $this->format, | |
| 418 | - 'entry_values' => $this->entry_values, | |
| 419 | - ) | |
| 420 | - ); | |
| 386 | + return $content; | |
| 421 | 387 | } |
| 422 | 388 | |
| 423 | 389 | /** |
| 424 | 390 | * Return the formatted HTML table with entry values |
| @@ -700,9 +666,9 @@ | ||
| 700 | 666 | * Add a standard row to plain text or html table content |
| 701 | 667 | * |
| 702 | 668 | * @since 2.04 |
| 703 | 669 | * |
| 704 | - * @param FrmFieldValue $field_value | |
| 670 | + * @param FrmProFieldValue $field_value | |
| 705 | 671 | * @param string $content |
| 706 | 672 | */ |
| 707 | 673 | protected function add_standard_row( $field_value, &$content ) { |
| 708 | 674 | if ( $this->format === 'plain_text_block' ) { |
| @@ -893,10 +859,9 @@ | ||
| 893 | 859 | * @return string|int |
| 894 | 860 | */ |
| 895 | 861 | protected function flatten_array( $value ) { |
| 896 | 862 | if ( is_array( $value ) ) { |
| 897 | - $separator = isset( $this->atts['array_separator'] ) ? $this->atts['array_separator'] : ', '; | |
| 898 | - $value = implode( $separator, $value ); | |
| 863 | + $value = implode( ', ', $value ); | |
| 899 | 864 | } |
| 900 | 865 | |
| 901 | 866 | return $value; |
| 902 | 867 | } |