src/Entity/XiboTicker.php
public function editDataSet($name, $duration, $useDuration, $updateInterval, $effect, $speed, $durationIsPerItem, $itemsSideBySide, $itemsPerPage, $upperLimit, $lowerLimit, $dateFormat, $backgroundColor, $noDataMessage, $template, $css = '', $filter, $ordering, $useOrderingClause, $useFilteringClause, $widgetId)
    {
        $this->name = $name;
        $this->duration = $duration;
        $this->useDuration = $useDuration;
        $this->updateInterval = $updateInterval;
        $this->effect = $effect;
        $this->speed = $speed;
        $this->durationIsPerItem = $durationIsPerItem;
        $this->itemsSideBySide = $itemsSideBySide;
        $this->itemsPerPage = $itemsPerPage;
        $this->upperLimit = $upperLimit;
        $this->lowerLimit = $lowerLimit;
        $this->dateFormat = $dateFormat;
        $this->backgroundColor = $backgroundColor;
        $this->noDataMessage = $noDataMessage;
        $this->template = $template;
        $this->css = $css;
        $this->filter = $filter;
        $this->ordering = $ordering;
        $this->useOrderingClause = $useOrderingClause;
        $this->useFilteringClause = $useFilteringClause;

        $this->getLogger()->info('Editing widget ID ' . $widgetId);
        $response = $this->doPut('/playlist/widget/' . $widgetId , $this->toArray());

        return $this->hydrate($response);

    }
public function editDataSet($name, $duration, $useDuration, $updateInterval, $effect, $speed, $durationIsPerItem, $itemsSideBySide, $itemsPerPage, $upperLimit, $lowerLimit, $dateFormat, $backgroundColor, $noDataMessage, $template, $css = '', $filter, $ordering, $useOrderingClause, $useFilteringClause, $widgetId)
    {
        $this->name = $name;
        $this->duration = $duration;
        $this->useDuration = $useDuration;
        $this->updateInterval = $updateInterval;
        $this->effect = $effect;
        $this->speed = $speed;
        $this->durationIsPerItem = $durationIsPerItem;
        $this->itemsSideBySide = $itemsSideBySide;
        $this->itemsPerPage = $itemsPerPage;
        $this->upperLimit = $upperLimit;
        $this->lowerLimit = $lowerLimit;
        $this->dateFormat = $dateFormat;
        $this->backgroundColor = $backgroundColor;
        $this->noDataMessage = $noDataMessage;
        $this->template = $template;
        $this->css = $css;
        $this->filter = $filter;
        $this->ordering = $ordering;
        $this->useOrderingClause = $useOrderingClause;
        $this->useFilteringClause = $useFilteringClause;

        $this->getLogger()->info('Editing widget ID ' . $widgetId);
        $response = $this->doPut('/playlist/widget/' . $widgetId , $this->toArray());

        return $this->hydrate($response);

    }
public function editDataSet ( $ name , $ duration , $ useDuration , $ updateInterval , $ effect , $ speed , $ durationIsPerItem , $ itemsSideBySide , $ itemsPerPage , $ upperLimit , $ lowerLimit , $ dateFormat , $ backgroundColor , $ noDataMessage , $ template , $ css = '' , $ filter , $ ordering , $ useOrderingClause , $ useFilteringClause , $ widgetId ) { $ this -> name = $ name ; $ this -> duration = $ duration ; $ this -> useDuration = $ useDuration ; $ this -> updateInterval = $ updateInterval ; $ this -> effect = $ effect ; $ this -> speed = $ speed ; $ this -> durationIsPerItem = $ durationIsPerItem ; $ this -> itemsSideBySide = $ itemsSideBySide ; $ this -> itemsPerPage = $ itemsPerPage ; $ this -> upperLimit = $ upperLimit ; $ this -> lowerLimit = $ lowerLimit ; $ this -> dateFormat = $ dateFormat ; $ this -> backgroundColor = $ backgroundColor ; $ this -> noDataMessage = $ noDataMessage ; $ this -> template = $ template ; $ this -> css = $ css ; $ this -> filter = $ filter ; $ this -> ordering = $ ordering ; $ this -> useOrderingClause = $ useOrderingClause ; $ this -> useFilteringClause = $ useFilteringClause ; $ this -> getLogger ( ) -> info ( 'Editing widget ID ' . $ widgetId ) ; $ response = $ this -> doPut ( '/playlist/widget/' . $ widgetId , $ this -> toArray ( ) ) ; return $ this -> hydrate ( $ response ) ; }
Edit Ticker widget with dataSet source

@param string $name Optional Widget name
@param int $duration Widget Duration
@param int $useDuration Flag indicating whether to use custom duration
@param int $updateInterval Update interval in minutes
@param string $effect Effect that will be used to transitions between items, available options: fade, fadeout, scrollVert, scollHorz, flipVert, flipHorz, shuffle, tileSlide, tileBlind, marqueeUp, marqueeDown, marqueeRight, marqueeLeft
@param int $speed The transition speed of the selected effect in milliseconds (1000 = normal) or the Marquee speed in a low to high scale (normal = 1)
@param int $durationIsPerItem Flag The duration specified is per item, otherwise it is per feed
@param int $itemsSideBySide Should items be shown side by side
@param int $itemsPerPage When in single mode, how many items per page should be shown
@param int $upperLimit Upper low limit for this dataSet, 0 for nor limit
@param int $lowerLimit lower low limit for this dataSet, 0 for nor limit
@param string $dateFormat The date format to apply to all dates returned by the ticker
@param string $backgroundColor A HEX color to use as the background color of this widget
@param string $noDataMessage A message to display when no data is returned from the source
@param string $template Template for each item, replaces [itemsTemplate] in main template
@param string $css Optional StyleSheet CSS
@param string $filter SQL clause for filter this dataSet
@param string $ordering SQL clause for how this dataSet should be ordered
@param int $useOrderingClause Use advanced order clause - set to 1 if ordering is provided
@param int $useFilteringClause Use advanced filter clause - set to 1 if filter is provided
@param int $widgetId The Widget ID

@return XiboTicker
Edit Ticker widget with dataSet source