芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/apv.mgaplay.com.br/vendor/xibosignage/oauth2-xibo-cms/src/Entity/XiboAudio.php
doGet('/playlist/widget', [ 'playlistId' => $id ]); return clone $this->hydrate($response[0]); } /** * Edit * @param $name * @param $duration * @param $useDuration * @param $mute * @param $loop */ public function edit($name, $useDuration, $duration, $mute, $loop, $widgetId) { $this->userId = $this->getEntityProvider()->getMe()->getId(); $this->name = $name; $this->useDuration = $useDuration; $this->duration = $duration; $this->scaleTypeId = $scaleTypeId; $this->mute = $mute; $this->loop = $loop; $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; } }