Report.php 706 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Sales\Model\ResourceModel;
  7. /**
  8. * Sales report resource model
  9. *
  10. * @author Magento Core Team <core@magentocommerce.com>
  11. */
  12. class Report extends \Magento\Sales\Model\ResourceModel\EntityAbstract
  13. {
  14. /**
  15. * Resource initialization
  16. *
  17. * @return void
  18. */
  19. protected function _construct()
  20. {
  21. }
  22. /**
  23. * Set main table and idField
  24. *
  25. * @param string $table
  26. * @param string $field
  27. * @return $this
  28. */
  29. public function init($table, $field = 'id')
  30. {
  31. $this->_init($table, $field);
  32. return $this;
  33. }
  34. }