| 1 |
<?php |
| 2 |
|
| 3 |
namespace ImportWP\Common\Addon; |
| 4 |
|
| 5 |
use ImportWP\Common\Model\ImporterModel; |
| 6 |
|
| 7 |
/** |
| 8 |
* @deprecated 2.14.0 |
| 9 |
*/ |
| 10 |
class AddonPanelDataApi extends AddonDataApi |
| 11 |
{ |
| 12 |
protected $_panel; |
| 13 |
|
| 14 |
/** |
| 15 |
* @param AddonBase $addon |
| 16 |
* @param AddonBasePanel $panel |
| 17 |
* @param string $object_id |
| 18 |
* @param string $section_id |
| 19 |
* @param string[] $data |
| 20 |
* @param ImporterModel $importer_model |
| 21 |
* @param \ImportWP\Common\Importer\Template\Template $template |
| 22 |
*/ |
| 23 |
public function __construct($addon, $panel, $object_id, $section_id, $data, $importer_model, $template) |
| 24 |
{ |
| 25 |
parent::__construct($addon, $object_id, $section_id, $data, $importer_model, $template); |
| 26 |
|
| 27 |
$this->_panel = $panel; |
| 28 |
} |
| 29 |
|
| 30 |
public function panel() |
| 31 |
{ |
| 32 |
return $this->_panel; |
| 33 |
} |
| 34 |
} |
| 35 |
|