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.

DnsRecordsDataAccess.php 596B

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