# jc-importer/2.7.3/class/Common/Addon/AddonPanelDataApi.php

Import WP – CSV &amp; XML Import Export for WordPress, version 2.7.3. 32 lines.

- Page: https://pluginprobe.com/plugins/jc-importer/2.7.3/code/class/Common/Addon/AddonPanelDataApi.php
- Raw: https://pluginprobe.com/plugins/jc-importer/2.7.3/raw/class/Common/Addon/AddonPanelDataApi.php
- Modified: 2022-06-10T17:48:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/jc-importer/2.7.3/code/class/Common/Addon/AddonPanelDataApi.php#L10-L20`.

```php
<?php

namespace ImportWP\Common\Addon;

use ImportWP\Common\Model\ImporterModel;

class AddonPanelDataApi extends AddonDataApi
{
    protected $_panel;

    /**
     * @param AddonBase $addon
     * @param AddonBasePanel $panel
     * @param string $object_id
     * @param string $section_id
     * @param string[] $data
     * @param ImporterModel $importer_model
     * @param \ImportWP\Common\Importer\Template\Template $template
     */
    public function __construct($addon, $panel, $object_id, $section_id, $data, $importer_model, $template)
    {
        parent::__construct($addon, $object_id, $section_id, $data, $importer_model, $template);

        $this->_panel = $panel;
    }

    public function panel()
    {
        return $this->_panel;
    }
}

```
