src/Entity/XiboTicker.php
public function editFeed($name, $duration, $useDuration, $updateInterval, $effect, $speed, $copyright = '', $numItems, $takeItemsFrom, $durationIsPerItem, $itemsSideBySide, $itemsPerPage, $dateFormat, $allowedAttributes, $stripTags, $backgroundColor, $disableDateSort, $textDirection, $noDataMessage, $templateId, $overrideTemplate, $template, $css = '', $javaScript = '', $randomiseItems, $widgetId)
    {
        $this->name = $name;
        $this->duration = $duration;
        $this->useDuration = $useDuration;
        $this->updateInterval = $updateInterval;
        $this->effect = $effect;
        $this->speed = $speed;
        $this->copyright = $copyright;
        $this->numItems = $numItems;
        $this->takeItemsFrom = $takeItemsFrom;
        $this->durationIsPerItem = $durationIsPerItem;
        $this->itemsSideBySide = $itemsSideBySide;
        $this->itemsPerPage = $itemsPerPage;
        $this->dateFormat = $dateFormat;
        $this->allowedAttributes = $allowedAttributes;
        $this->stripTags = $stripTags;
        $this->backgroundColor = $backgroundColor;
        $this->disableDateSort = $disableDateSort;
        $this->textDirection = $textDirection;
        $this->noDataMessage = $noDataMessage;
        $this->templateId = $templateId;
        $this->overrideTemplate = $overrideTemplate;
        $this->template = $template;
        $this->css = $css;
        $this->javaScript = $javaScript;
        $this->randomiseItems = $randomiseItems;

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

        return $this->hydrate($response);

    }
public function editFeed($name, $duration, $useDuration, $updateInterval, $effect, $speed, $copyright = '', $numItems, $takeItemsFrom, $durationIsPerItem, $itemsSideBySide, $itemsPerPage, $dateFormat, $allowedAttributes, $stripTags, $backgroundColor, $disableDateSort, $textDirection, $noDataMessage, $templateId, $overrideTemplate, $template, $css = '', $javaScript = '', $randomiseItems, $widgetId)
    {
        $this->name = $name;
        $this->duration = $duration;
        $this->useDuration = $useDuration;
        $this->updateInterval = $updateInterval;
        $this->effect = $effect;
        $this->speed = $speed;
        $this->copyright = $copyright;
        $this->numItems = $numItems;
        $this->takeItemsFrom = $takeItemsFrom;
        $this->durationIsPerItem = $durationIsPerItem;
        $this->itemsSideBySide = $itemsSideBySide;
        $this->itemsPerPage = $itemsPerPage;
        $this->dateFormat = $dateFormat;
        $this->allowedAttributes = $allowedAttributes;
        $this->stripTags = $stripTags;
        $this->backgroundColor = $backgroundColor;
        $this->disableDateSort = $disableDateSort;
        $this->textDirection = $textDirection;
        $this->noDataMessage = $noDataMessage;
        $this->templateId = $templateId;
        $this->overrideTemplate = $overrideTemplate;
        $this->template = $template;
        $this->css = $css;
        $this->javaScript = $javaScript;
        $this->randomiseItems = $randomiseItems;

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

        return $this->hydrate($response);

    }
public function editFeed ( $ name , $ duration , $ useDuration , $ updateInterval , $ effect , $ speed , $ copyright = '' , $ numItems , $ takeItemsFrom , $ durationIsPerItem , $ itemsSideBySide , $ itemsPerPage , $ dateFormat , $ allowedAttributes , $ stripTags , $ backgroundColor , $ disableDateSort , $ textDirection , $ noDataMessage , $ templateId , $ overrideTemplate , $ template , $ css = '' , $ javaScript = '' , $ randomiseItems , $ widgetId ) { $ this -> name = $ name ; $ this -> duration = $ duration ; $ this -> useDuration = $ useDuration ; $ this -> updateInterval = $ updateInterval ; $ this -> effect = $ effect ; $ this -> speed = $ speed ; $ this -> copyright = $ copyright ; $ this -> numItems = $ numItems ; $ this -> takeItemsFrom = $ takeItemsFrom ; $ this -> durationIsPerItem = $ durationIsPerItem ; $ this -> itemsSideBySide = $ itemsSideBySide ; $ this -> itemsPerPage = $ itemsPerPage ; $ this -> dateFormat = $ dateFormat ; $ this -> allowedAttributes = $ allowedAttributes ; $ this -> stripTags = $ stripTags ; $ this -> backgroundColor = $ backgroundColor ; $ this -> disableDateSort = $ disableDateSort ; $ this -> textDirection = $ textDirection ; $ this -> noDataMessage = $ noDataMessage ; $ this -> templateId = $ templateId ; $ this -> overrideTemplate = $ overrideTemplate ; $ this -> template = $ template ; $ this -> css = $ css ; $ this -> javaScript = $ javaScript ; $ this -> randomiseItems = $ randomiseItems ; $ this -> getLogger ( ) -> info ( 'Editing widget ID ' . $ widgetId ) ; $ response = $ this -> doPut ( '/playlist/widget/' . $ widgetId , $ this -> toArray ( ) ) ; return $ this -> hydrate ( $ response ) ; }
Edit Ticker with RSS FEED 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 string $copyright Copyright information to display as the last item in this feed. can be styled with the #copyright CSS selector
@param int $numItems The number of RSS items you want to display
@param string $takeItemsFrom Take the items form the beginning or the end of the list, available options: start, end
@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 string $dateFormat The date format to apply to all dates returned by the ticker
@param string $allowedAttributes  A comma separated list of attributes that should not be stripped from the feed
@param string $stripTags A comma separated list of attributes that should be stripped from the feed
@param string $backgroundColor A HEX color to use as the background color of this widget
@param int $disableDateSort Flag Should the date sort applied to the feed be disabled?
@param string $textDirection Which direction does the text in the feed use? Available options: ltr, rtl
@param string $noDataMessage A message to display when no data is returned from the source
@param string $templateId Template you’d like to apply, options available: title-only, prominent-title-with-desc-and-name-separator, media-rss-with-title, media-rss-wth-left-hand-text, media-rss-image-only
@param int $overrideTemplate override template checkbox
@param string $template Template for each item, replaces [itemsTemplate] in main template
@param string $css Optional StyleSheet CSS
@param string $javaScript Optional CSS
@param int $randomiseItems Flag whether to randomise the feed
@param int $widgetId The Widget ID
@return XiboTicker
Edit Ticker with RSS FEED source .