芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/avenida/vendor/xibosignage/oauth2-xibo-cms/src/Entity/XiboTicker.php
doGet('/playlist/widget', [ 'playlistId' => $id ]); return clone $this->hydrate($response[0]); } /** * Create * @param $sourceId * @param $uri * @param $duration * @param $useDuration * @param $dataSetId * @param $playlistId */ public function create($sourceId, $uri, $dataSetId, $duration, $useDuration, $playlistId) { $this->userId = $this->getEntityProvider()->getMe()->getId(); $this->sourceId = $sourceId; $this->uri = $uri; $this->duration = $duration; $this->useDuration = $useDuration; $this->dataSetId = $dataSetId; $this->playlistId = $playlistId; $response = $this->doPost('/playlist/widget/ticker/' . $playlistId , $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; } }