芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/apv.mgaplay.com.br/vendor/xibosignage/oauth2-xibo-cms/src/Entity/XiboFinance.php
doGet('/playlist/widget', [ 'playlistId' => $id ]); return clone $this->hydrate($response[0]); } /** * Create * @param $templateId * @param $name * @param $duration * @param $useDuration * @param $item * @param $effect * @param $speed * @param $backgroundColor * @param $noRecordsMessage * @param $dateFormat * @param $updateInterval * @param $durationIsPerItem * @param $playlistId */ public function create($templateId, $name, $duration, $useDuration, $item, $effect, $speed, $backgroundColor, $noRecordsMessage, $dateFormat, $updateInterval, $durationIsPerItem, $playlistId) { $this->userId = $this->getEntityProvider()->getMe()->getId(); $this->overrideTemplate = 0; $this->templateId = $templateId; $this->name = $name; $this->duration = $duration; $this->useDuration = $useDuration; $this->item = $item; $this->effect = $effect; $this->speed = $speed; $this->backgroundColor = $backgroundColor; $this->noRecordsMessage = $noRecordsMessage; $this->dateFormat = $dateFormat; $this->updateInterval = $updateInterval; $this->durationIsPerItem = $durationIsPerItem; $this->playlistId = $playlistId; $response = $this->doPost('/playlist/widget/finance/' . $playlistId , $this->toArray()); return $this->hydrate($response); } /** * Edit * @param $templateId * @param $name * @param $duration * @param $useDuration * @param $item * @param $effect * @param $speed * @param $backgroundColor * @param $noRecordsMessage * @param $dateFormat * @param $updateInterval * @param $durationIsPerItem * @param $playlistId */ public function edit($templateId, $name, $duration, $useDuration, $item, $effect, $speed, $backgroundColor, $noRecordsMessage, $dateFormat, $updateInterval, $durationIsPerItem, $widgetId) { $this->userId = $this->getEntityProvider()->getMe()->getId(); $this->overrideTemplate = 0; $this->templateId = $templateId; $this->name = $name; $this->duration = $duration; $this->useDuration = $useDuration; $this->item = $item; $this->effect = $effect; $this->speed = $speed; $this->backgroundColor = $backgroundColor; $this->noRecordsMessage = $noRecordsMessage; $this->dateFormat = $dateFormat; $this->updateInterval = $updateInterval; $this->durationIsPerItem = $durationIsPerItem; $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; } }