src/Entity/XiboWebpage.php
public function edit($name, $duration, $useDuration, $transparency, $uri, $scaling, $offsetLeft, $offsetTop, $pageWidth, $pageHeight, $modeId, $widgetId)
    {
        $this->userId = $this->getEntityProvider()->getMe()->getId();
        $this->name = $name;
        $this->duration = $duration;
        $this->useDuration = $useDuration;
        $this->transparency = $transparency;
        $this->uri = $uri;
        $this->scaling = $scaling;
        $this->offsetLeft = $offsetLeft;
        $this->offsetTop = $offsetTop;
        $this->pageWidth = $pageWidth;
        $this->pageHeight = $pageHeight;
        $this->modeId = $modeId;
        $this->widgetId = $widgetId;
        $this->getLogger()->info('Editing widget ID ' . $widgetId);
        $response = $this->doPut('/playlist/widget/' . $widgetId , $this->toArray());

        return $this->hydrate($response);
    }
public function edit($name, $duration, $useDuration, $transparency, $uri, $scaling, $offsetLeft, $offsetTop, $pageWidth, $pageHeight, $modeId, $widgetId)
    {
        $this->userId = $this->getEntityProvider()->getMe()->getId();
        $this->name = $name;
        $this->duration = $duration;
        $this->useDuration = $useDuration;
        $this->transparency = $transparency;
        $this->uri = $uri;
        $this->scaling = $scaling;
        $this->offsetLeft = $offsetLeft;
        $this->offsetTop = $offsetTop;
        $this->pageWidth = $pageWidth;
        $this->pageHeight = $pageHeight;
        $this->modeId = $modeId;
        $this->widgetId = $widgetId;
        $this->getLogger()->info('Editing widget ID ' . $widgetId);
        $response = $this->doPut('/playlist/widget/' . $widgetId , $this->toArray());

        return $this->hydrate($response);
    }
public function edit ( $ name , $ duration , $ useDuration , $ transparency , $ uri , $ scaling , $ offsetLeft , $ offsetTop , $ pageWidth , $ pageHeight , $ modeId , $ widgetId ) { $ this -> userId = $ this -> getEntityProvider ( ) -> getMe ( ) -> getId ( ) ; $ this -> name = $ name ; $ this -> duration = $ duration ; $ this -> useDuration = $ useDuration ; $ this -> transparency = $ transparency ; $ this -> uri = $ uri ; $ this -> scaling = $ scaling ; $ this -> offsetLeft = $ offsetLeft ; $ this -> offsetTop = $ offsetTop ; $ this -> pageWidth = $ pageWidth ; $ this -> pageHeight = $ pageHeight ; $ this -> modeId = $ modeId ; $ this -> widgetId = $ widgetId ; $ this -> getLogger ( ) -> info ( 'Editing widget ID ' . $ widgetId ) ; $ response = $ this -> doPut ( '/playlist/widget/' . $ widgetId , $ this -> toArray ( ) ) ; return $ this -> hydrate ( $ response ) ; }
Edit existing Webpage Widget.

@param string $name Optional Widget
@param int $duration The Widget Duration
@param int $useDuration Flag indicating whether to use custom duration
@param int $transparency Flag should the HTML be shown with a transparent background?
@param string $uri String containing the location (URL) of the web page
@param int $scaling For Manual position the percentage to scale the Web page (0-100)
@param int $offsetLeft For Manual position, the starting point from the left in pixels
@param int $offsetTop For Manual position, the starting point from the Top in pixels
@param int $pageWidth For Manual Position and Best Fit, The width of the page - if empty it will use region width
@param int $pageHeight For Manual Position and Best Fit, The height of the page - if empty it will use region height
@param int $modeId The mode option for Web page, 1- Open Natively, 2- Manual Position, 3- Best Ft
@param int $widgetId The Widget ID
@return XiboWebpage
Edit existing Webpage Widget .