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

Import WP – CSV &amp; XML Import Export for WordPress, version trunk. 35 lines.

- Page: https://pluginprobe.com/plugins/jc-importer/trunk/code/class/Common/Addon/AddonPanelDataApi.php
- Raw: https://pluginprobe.com/plugins/jc-importer/trunk/raw/class/Common/Addon/AddonPanelDataApi.php
- Modified: 2024-07-14T15:13:26+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/trunk/code/class/Common/Addon/AddonPanelDataApi.php#L10-L20`.

```php
<?php

namespace ImportWP\Common\Addon;

use ImportWP\Common\Model\ImporterModel;

/**
 * @deprecated 2.14.0
 */
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;
    }
}

```
