implement UrlToZMS in Monitor

This commit is contained in:
Isaac Connor 2021-11-10 14:18:58 -05:00
parent 44d88edbbb
commit 4c2d50c1f4
1 changed files with 4 additions and 0 deletions

View File

@ -495,6 +495,10 @@ class Monitor extends ZM_Object {
return $this->Server()->UrlToIndex($port); return $this->Server()->UrlToIndex($port);
} }
public function UrlToZMS($port=null) {
return $this->Server()->UrlToZMS($port).'?mid='.$this->Id();
}
public function sendControlCommand($command) { public function sendControlCommand($command) {
// command is generally a command option list like --command=blah but might be just the word quit // command is generally a command option list like --command=blah but might be just the word quit