Skip to content

Commit

Permalink
🎈 Added .lv secondary Domain Status
Browse files Browse the repository at this point in the history
🎈 Added status request from www.nic.lv/epp/domain/overview.html.
  • Loading branch information
Lukas Adrian Kron committed Feb 1, 2022
1 parent 2cdb917 commit 4b01329
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,8 @@ protected function getXpathQueryResult($query, $cast = null) {
public function getLvDomainStatus() {
return $this->getXpathQueryResult("/epp:epp/epp:response/epp:extension//*[name()='lvDomain:status']");
}

public function getSecondaryDomainStatus() {
return $this->getXpathQueryResult("/epp:epp/epp:response/epp:resData/domain:infData/domain:status/@s");
}
}

0 comments on commit 4b01329

Please sign in to comment.