getInt(), $page, $perPage, $query); } /** * Add a new DNS domain record * @param DnsRecordsDbo $record The new domain record * @return int */ public function add(DnsRecordsDbo $record) { return DnsRecordsBusiness::add($record); } /** * Delete a DNS domain record * @param LuIntDbo $domain_id The domain record id * @return bool */ public function del(LuIntDbo $domain_id) { return DnsRecordsBusiness::deleteById($domain_id->getInt()); } }