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