DataSet.php 622 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace ThurData\Servers\KerioEmail\Core\UI\Widget\DataTable\DataProviders;
  3. use \ThurData\Servers\KerioEmail\Core\UI\Interfaces\DataSetInterface;
  4. class DataSet implements DataSetInterface
  5. {
  6. public $offset = 0;
  7. public $fullDataLenght = 0;
  8. public $records = [];
  9. public function getOffset()
  10. {
  11. return $this->offset;
  12. }
  13. public function getRecords()
  14. {
  15. return $this->records;
  16. }
  17. public function getLenght()
  18. {
  19. return count($this->records);
  20. }
  21. public function getFullLenght()
  22. {
  23. return $this->fullDataLenght;
  24. }
  25. }