| @@ -3,8 +3,9 @@ | ||
| 3 | 3 | * Handles the installation of a solution and any dependencies. |
| 4 | 4 | * This page is shown when a Formidable plugin is activated. |
| 5 | 5 | * |
| 6 | 6 | * @since 4.06.02 |
| 7 | + * @package Formidable | |
| 7 | 8 | */ |
| 8 | 9 | |
| 9 | 10 | if ( ! defined( 'ABSPATH' ) ) { |
| 10 | 11 | die( 'You are not allowed to call this page directly.' ); |
| @@ -19,8 +20,9 @@ | ||
| 19 | 20 | /** |
| 20 | 21 | * Hidden welcome page slug. |
| 21 | 22 | * |
| 22 | 23 | * @since 4.06.02 |
| 24 | + * @var string | |
| 23 | 25 | */ |
| 24 | 26 | protected $page = ''; |
| 25 | 27 | |
| 26 | 28 | protected $icon = 'frm_icon_font frm_settings_icon'; |
| @@ -175,9 +177,9 @@ | ||
| 175 | 177 | protected function settings_link() { |
| 176 | 178 | return admin_url( 'index.php?page=' . $this->page ); |
| 177 | 179 | } |
| 178 | 180 | |
| 179 | - /* | |
| 181 | + /** | |
| 180 | 182 | * Add page to global settings. |
| 181 | 183 | */ |
| 182 | 184 | public function add_settings( $sections ) { |
| 183 | 185 | wp_enqueue_style( 'formidable-pro-fields' ); |
| @@ -362,9 +364,9 @@ | ||
| 362 | 364 | if ( ! $steps[ $k ]['current'] ) { |
| 363 | 365 | $class .= ' frm_grey disabled'; |
| 364 | 366 | } |
| 365 | 367 | $steps[ $k ]['button_class'] = $class; |
| 366 | - } | |
| 368 | + }//end foreach | |
| 367 | 369 | |
| 368 | 370 | return $steps; |
| 369 | 371 | } |
| 370 | 372 | |
| @@ -574,9 +576,9 @@ | ||
| 574 | 576 | echo '</fieldset>'; |
| 575 | 577 | } else { |
| 576 | 578 | echo '</form>'; |
| 577 | 579 | } |
| 578 | - } | |
| 580 | + }//end if | |
| 579 | 581 | |
| 580 | 582 | $this->step_bottom( $step ); |
| 581 | 583 | } |
| 582 | 584 | |
| @@ -594,9 +596,11 @@ | ||
| 594 | 596 | $this->show_import_options( $this->view_options(), 'view' ); |
| 595 | 597 | } |
| 596 | 598 | |
| 597 | 599 | /** |
| 600 | + * @param array $options | |
| 598 | 601 | * @param string $importing |
| 602 | + * @param string $xml | |
| 599 | 603 | * |
| 600 | 604 | * @psalm-param 'form'|'view' $importing |
| 601 | 605 | * |
| 602 | 606 | * @return void |