芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/avenida/vendor/xibosignage/oauth2-xibo-cms/src/Entity/XiboDisplay.php
doGet('/display', $params); foreach ($response as $item) { $entries[] = clone $this->hydrate($item); } return $entries; } /** * Get by Id * @param $id * @return $this|XiboDisplayGroup * @throws XiboApiException */ public function getById($id) { $response = $this->doGet('/display', [ 'displayGroupId' => $id ]); if (count($response) <= 0) throw new XiboApiException('Expecting a single display, found ' . count($response)); return clone $this->hydrate($response[0]); } /** * Edit * @param $display; * @param $description; * @param $auditingUntil; * @param $defaultLayoutId * @param $licensed; * @param $license; * @param $incSchedule; * @param $emailAlert; * @param $wakeOnLanEnabled * @param $boradCastAddress * @param $clearCachedData * @param $rekeyXmr * @return XiboLayout */ public function edit($display, $description, $auditingUntil, $defaultLayoutId, $licensed, $license, $incSchedule, $emailAlert, $wakeOnLanEnabled, $boradCastAddress, $clearCachedData, $rekeyXmr) { $this->display = $display; $this->description = $description; $this->auditingUntil = $auditingUntil; $this->defaultLayoutId = $defaultLayoutId; $this->licensed = $licensed; $this->license = $license; $this->incSchedule = $incSchedule; $this->emailAlert = $emailAlert; $this->wakeOnLanEnabled = $wakeOnLanEnabled; $this->broadCastAddress = $boradCastAddress; $this->clearCachedData = $clearCachedData; $this->rekeyXmr = $rekeyXmr; $response = $this->doPut('/display/' . $this->displayId, $this->toArray()); return $this->hydrate($response); } /** * Delete * @return bool */ public function delete() { $this->doDelete('/display/' . $this->displayId); return true; } }