You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DnsDomainsDataAccess.php 592B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace App\Http\DataAccess;
  3. use App\Http\DataAccess\SP\SpGetDomains;
  4. use Luticate\Utils\LuDataAccess;
  5. use App\Http\DataAccess\Models\DnsDomains;
  6. use App\Http\DBO\DnsDomainsDbo;
  7. class DnsDomainsDataAccess extends LuDataAccess {
  8. protected static function getModel()
  9. {
  10. return new DnsDomains();
  11. }
  12. protected static function getOrderBy()
  13. {
  14. return array(array("name", "ASC"));
  15. }
  16. public static function getAll($page = 0, $perPage = PHP_INT_MAX, $query = "")
  17. {
  18. return SpGetDomains::getMultipleJson($query, $page, $perPage);
  19. }
  20. }