123456789101112131415161718192021222324 |
- <?php
-
- namespace App\Http\DataAccess;
-
- use App\Http\DataAccess\SP\SpGetDomainRecords;
- use Luticate\Utils\LuDataAccess;
- use App\Http\DataAccess\Models\DnsRecords;
-
- class DnsRecordsDataAccess extends LuDataAccess {
- protected static function getModel()
- {
- return new DnsRecords();
- }
-
- protected static function getOrderBy()
- {
- return array(array("name", "ASC"));
- }
-
- public static function getAll($domain_id, $page = 0, $perPage = PHP_INT_MAX, $query = "")
- {
- return SpGetDomainRecords::getMultipleJson($domain_id, $query, $page, $perPage);
- }
- }
|