src/Entity/XiboDataSetView.php
public function edit($name, $duration, $useDuration, $dataSetColumnId = [], $updateInterval, $rowsPerPage, $showHeadings, $upperLimit = 0, $lowerLimit = 0, $filter = null, $ordering = null, $templateId = 'empty', $overrideTemplate = 0, $useOrderingClause = 0, $useFilteringClause = 0, $noDataMessage = '', $widgetId)
    {
        $this->userId = $this->getEntityProvider()->getMe()->getId();
        $this->name = $name;
        $this->duration = $duration;
        $this->useDuration = $useDuration;
        $this->dataSetColumnId = $dataSetColumnId;
        $this->updateInterval = $updateInterval;
        $this->rowsPerPage = $rowsPerPage;
        $this->showHeadings = $showHeadings;
        $this->upperLimit = $upperLimit;
        $this->lowerLimit = $lowerLimit;
        $this->filter = $filter;
        $this->ordering = $ordering;
        $this->templateId = $templateId;
        $this->overrideTemplate = $overrideTemplate;
        $this->useOrderingClause = $useOrderingClause;
        $this->useFilteringClause = $useFilteringClause;
        $this->noDataMessage = $noDataMessage;
        $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, $dataSetColumnId = [], $updateInterval, $rowsPerPage, $showHeadings, $upperLimit = 0, $lowerLimit = 0, $filter = null, $ordering = null, $templateId = 'empty', $overrideTemplate = 0, $useOrderingClause = 0, $useFilteringClause = 0, $noDataMessage = '', $widgetId)
    {
        $this->userId = $this->getEntityProvider()->getMe()->getId();
        $this->name = $name;
        $this->duration = $duration;
        $this->useDuration = $useDuration;
        $this->dataSetColumnId = $dataSetColumnId;
        $this->updateInterval = $updateInterval;
        $this->rowsPerPage = $rowsPerPage;
        $this->showHeadings = $showHeadings;
        $this->upperLimit = $upperLimit;
        $this->lowerLimit = $lowerLimit;
        $this->filter = $filter;
        $this->ordering = $ordering;
        $this->templateId = $templateId;
        $this->overrideTemplate = $overrideTemplate;
        $this->useOrderingClause = $useOrderingClause;
        $this->useFilteringClause = $useFilteringClause;
        $this->noDataMessage = $noDataMessage;
        $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 , $ dataSetColumnId = [ ] , $ updateInterval , $ rowsPerPage , $ showHeadings , $ upperLimit = 0 , $ lowerLimit = 0 , $ filter = null , $ ordering = null , $ templateId = 'empty' , $ overrideTemplate = 0 , $ useOrderingClause = 0 , $ useFilteringClause = 0 , $ noDataMessage = '' , $ widgetId ) { $ this -> userId = $ this -> getEntityProvider ( ) -> getMe ( ) -> getId ( ) ; $ this -> name = $ name ; $ this -> duration = $ duration ; $ this -> useDuration = $ useDuration ; $ this -> dataSetColumnId = $ dataSetColumnId ; $ this -> updateInterval = $ updateInterval ; $ this -> rowsPerPage = $ rowsPerPage ; $ this -> showHeadings = $ showHeadings ; $ this -> upperLimit = $ upperLimit ; $ this -> lowerLimit = $ lowerLimit ; $ this -> filter = $ filter ; $ this -> ordering = $ ordering ; $ this -> templateId = $ templateId ; $ this -> overrideTemplate = $ overrideTemplate ; $ this -> useOrderingClause = $ useOrderingClause ; $ this -> useFilteringClause = $ useFilteringClause ; $ this -> noDataMessage = $ noDataMessage ; $ this -> widgetId = $ widgetId ; $ this -> getLogger ( ) -> info ( 'Editing widget ID ' . $ widgetId ) ; $ response = $ this -> doPut ( '/playlist/widget/' . $ widgetId , $ this -> toArray ( ) ) ; return $ this -> hydrate ( $ response ) ; }
Edit the DataSetView widget.

@param string $name Optional widget name
@param int $duration Widget Duration
@param int $useDuration Flag whether to use custom duration
@param array $dataSetColumnId An array of dataSetColumnIds to assign
@param int $updateInterval Widget update interval in minutes
@param int $rowsPerPage Number of rows per page, 0 for no pages
@param int $showHeadings Flag Should the table show the Heading?
@param int $upperLimit Upper row limit for this dataSet, 0 for no limit
@param int $lowerLimit Lower row limit for this dataSet, 0 for no limit
@param string $filter SQL clause to filter the dataSet
@param string $ordering SQL clause to order the dataSet
@param string $templateId Template to apply, available options: empty, light-green
@param int $overrideTemplate Flag whether to override the template
@param int $useOrderingClause Flag whether to use advanced ordering, set to 1 if ordring is provided
@param int $useFilteringClause Flag whether to use advanced filer, set to 1 ifd filter is provided
@param string $noDataMessage A message to display when there is no data returned from the source
@param int $widgetId The Widget ID to edit
@return XiboDataSetView
Edit the DataSetView widget .