This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/ext/bulk_import_export/events.php

28 lines
486 B
PHP
Raw Normal View History

2020-06-02 23:05:09 +00:00
<?php declare(strict_types=1);
class BulkExportEvent extends Event
{
public $image;
public $fields = [];
public function __construct(Image $image)
{
2020-10-29 01:28:46 +00:00
parent::__construct();
2020-06-02 23:05:09 +00:00
$this->image = $image;
}
}
class BulkImportEvent extends Event
{
public $image;
public $fields = [];
2020-06-02 23:05:09 +00:00
public function __construct(Image $image, $fields)
{
2020-10-29 01:28:46 +00:00
parent::__construct();
2020-06-02 23:05:09 +00:00
$this->image = $image;
$this->fields = $fields;
}
}