src/Entity/XiboLayout.php
public function edit($name, $description, $tags, $retired, $backgroundColor,$backgroundImageId, $backgroundzIndex, $resolutionId)
    {
        $this->name = $name;
        $this->description = $description;
        $this->tags = $tags;
        $this->retired = $retired;
        $this->backgroundColor = $backgroundColor;
        $this->backgroundImageId = $backgroundImageId;
        $this->backgroundzIndex = $backgroundzIndex;
        $this->resolutionId = $resolutionId;

        $this->getLogger()->info('Editing Layout ID ' . $this->layoutId);
        $response = $this->doPut('/layout/' . $this->layoutId, $this->toArray());

        $layout = $this->constructLayoutFromResponse($response);

        return $layout;
    }
public function edit($name, $description, $tags, $retired, $backgroundColor,$backgroundImageId, $backgroundzIndex, $resolutionId)
    {
        $this->name = $name;
        $this->description = $description;
        $this->tags = $tags;
        $this->retired = $retired;
        $this->backgroundColor = $backgroundColor;
        $this->backgroundImageId = $backgroundImageId;
        $this->backgroundzIndex = $backgroundzIndex;
        $this->resolutionId = $resolutionId;

        $this->getLogger()->info('Editing Layout ID ' . $this->layoutId);
        $response = $this->doPut('/layout/' . $this->layoutId, $this->toArray());

        $layout = $this->constructLayoutFromResponse($response);

        return $layout;
    }
public function edit ( $ name , $ description , $ tags , $ retired , $ backgroundColor , $ backgroundImageId , $ backgroundzIndex , $ resolutionId ) { $ this -> name = $ name ; $ this -> description = $ description ; $ this -> tags = $ tags ; $ this -> retired = $ retired ; $ this -> backgroundColor = $ backgroundColor ; $ this -> backgroundImageId = $ backgroundImageId ; $ this -> backgroundzIndex = $ backgroundzIndex ; $ this -> resolutionId = $ resolutionId ; $ this -> getLogger ( ) -> info ( 'Editing Layout ID ' . $ this -> layoutId ) ; $ response = $ this -> doPut ( '/layout/' . $ this -> layoutId , $ this -> toArray ( ) ) ; $ layout = $ this -> constructLayoutFromResponse ( $ response ) ; return $ layout ; }
Edit an existing Layout.

@param string $name new name of the layout
@param string $description new description of the layout
@param string $tags comma separated list of tags
@param int $retired flag indicating whether this layout is retired
@param string $backgroundColor A HEX color to use as layout background
@param int $backgroundImageId Media ID to use as a layout background
@param int $backgroundzIndex The layer number to use for the background
@param int $resolutionId new Resolution to use for this layout
@return XiboLayout
Edit an existing Layout .