芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/avenida/vendor/xibosignage/oauth2-xibo-cms/src/Entity/XiboClock.php
doGet('/playlist/widget', [ 'playlistId' => $id ]); return clone $this->hydrate($response[0]); } /** * Create * @param $name * @param $duration * @param $useDuration * @param $theme * @param $clockTypeId * @param $offset * @param $format * @param $showSeconds * @param $clockFace */ public function create($name, $duration, $useDuration, $theme, $clockTypeId, $offset, $format, $showSeconds, $clockFace, $playlistId) { $this->userId = $this->getEntityProvider()->getMe()->getId(); $this->name = $name; $this->duration = $duration; $this->useDuration = $useDuration; $this->theme = $theme; $this->clockTypeId = $clockTypeId; $this->offset = $offset; $this->format = $format; $this->showSeconds = $showSeconds; $this->clockFace = $clockFace; $this->playlistId = $playlistId; $response = $this->doPost('/playlist/widget/clock/' . $playlistId , $this->toArray()); return $this->hydrate($response); } /** * Edit * @param $name * @param $duration * @param $useDuration * @param $theme * @param $clockTypeId * @param $offset * @param $format * @param $showSeconds * @param $clockFace */ public function edit($name, $duration, $useDuration, $theme, $clockTypeId, $offset, $format, $showSeconds, $clockFace, $widgetId) { $this->userId = $this->getEntityProvider()->getMe()->getId(); $this->name = $name; $this->duration = $duration; $this->useDuration = $useDuration; $this->theme = $theme; $this->clockTypeId = $clockTypeId; $this->offset = $offset; $this->format = $format; $this->showSeconds = $showSeconds; $this->clockFace = $clockFace; $this->widgetId = $widgetId; $response = $this->doPut('/playlist/widget/' . $widgetId , $this->toArray()); return $this->hydrate($response); } /** * Delete */ public function delete() { $this->userId = $this->getEntityProvider()->getMe()->getId(); $response = $this->doDelete('/playlist/widget/' . $this->widgetId , $this->toArray()); return true; } }