1 | <?php |
||
12 | class Export extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb |
||
13 | { |
||
14 | /** |
||
15 | * @var \Magento\Framework\Stdlib\DateTime\DateTime |
||
16 | */ |
||
17 | private $_date; |
||
18 | |||
19 | /** |
||
20 | * Export constructor. |
||
21 | * @param \Magento\Framework\Model\ResourceModel\Db\Context $context |
||
22 | * @param \Magento\Framework\Stdlib\DateTime\DateTime $date |
||
23 | * @param null $resourcePrefix |
||
24 | */ |
||
25 | public function __construct( |
||
33 | |||
34 | /** |
||
35 | * Export constructor |
||
36 | */ |
||
37 | protected function _construct() |
||
41 | |||
42 | /** |
||
43 | * Before saving the object, add the created or updated times |
||
44 | * |
||
45 | * @param \Magento\Framework\Model\AbstractModel $object |
||
46 | * @return $this |
||
47 | */ |
||
48 | protected function _beforeSave(\Magento\Framework\Model\AbstractModel $object) |
||
59 | |||
60 | /** |
||
61 | * Default select items not yet exported |
||
62 | * |
||
63 | * @param string $field |
||
64 | * @param mixed $value |
||
65 | * @param \Magento\Framework\Model\AbstractModel $object |
||
66 | * @return \Magento\Framework\DB\Select |
||
67 | */ |
||
68 | protected function _getLoadSelect($field, $value, $object) |
||
81 | } |
||
82 |