implement UrlToZMS in Monitor

This commit is contained in:
Isaac Connor 2021-11-10 14:18:58 -05:00
parent 9d37fbcd8e
commit 98e29e7ef6
1 changed files with 4 additions and 0 deletions

View File

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