src/Entity/XiboDisplayGroup.php
public function create($displayGroup, $description, $isDynamic, $dynamicCriteria)
    {
        $this->userId = $this->getEntityProvider()->getMe()->getId();
        $this->displayGroup = $displayGroup;
        $this->description = $description;
        $this->isDynamic = $isDynamic;
        $this->dynamicCriteria = $dynamicCriteria;

        $this->getLogger()->info('Creating a new display Group ' . $displayGroup);
        $response = $this->doPost('/displaygroup', $this->toArray());

        return $this->hydrate($response);
    }
public function create($displayGroup, $description, $isDynamic, $dynamicCriteria)
    {
        $this->userId = $this->getEntityProvider()->getMe()->getId();
        $this->displayGroup = $displayGroup;
        $this->description = $description;
        $this->isDynamic = $isDynamic;
        $this->dynamicCriteria = $dynamicCriteria;

        $this->getLogger()->info('Creating a new display Group ' . $displayGroup);
        $response = $this->doPost('/displaygroup', $this->toArray());

        return $this->hydrate($response);
    }
public function create ( $ displayGroup , $ description , $ isDynamic , $ dynamicCriteria ) { $ this -> userId = $ this -> getEntityProvider ( ) -> getMe ( ) -> getId ( ) ; $ this -> displayGroup = $ displayGroup ; $ this -> description = $ description ; $ this -> isDynamic = $ isDynamic ; $ this -> dynamicCriteria = $ dynamicCriteria ; $ this -> getLogger ( ) -> info ( 'Creating a new display Group ' . $ displayGroup ) ; $ response = $ this -> doPost ( '/displaygroup' , $ this -> toArray ( ) ) ; return $ this -> hydrate ( $ response ) ; }
Create Display Group.

@param string $displayGroup The display group name
@param string $description The display group description
@param int $isDynamic Flag indicating whether this Display Group is dynamic
@param string $dynamicCriteria The filter criteria for this dynamic group. A comma separated set of regular expressions to apply
@return XiboDisplayGroup
Create Display Group .