src/Entity/XiboUserGroup.php
public function edit($groupId, $group, $libraryQuota = 0, $isSystemNotification = 0, $isDisplayNotification = 0)
    {
        $this->groupId = $groupId;
        $this->group = $group;
        $this->libraryQuota = $libraryQuota;
        $this->isSystemNotification = $isSystemNotification;
        $this->isDisplayNotification = $isDisplayNotification;

        $this->getLogger()->info('Editing User Group ID ' . $this->groupId);
        $response = $this->doPut('/group/' . $groupId, $this->toArray());

        $this->getLogger()->debug('Passing the response to Hydrate');
        /** @var XiboUserGroup $userGroup */
        $userGroup = $this->hydrate($response);

        return $userGroup;
    }
public function edit($groupId, $group, $libraryQuota = 0, $isSystemNotification = 0, $isDisplayNotification = 0)
    {
        $this->groupId = $groupId;
        $this->group = $group;
        $this->libraryQuota = $libraryQuota;
        $this->isSystemNotification = $isSystemNotification;
        $this->isDisplayNotification = $isDisplayNotification;

        $this->getLogger()->info('Editing User Group ID ' . $this->groupId);
        $response = $this->doPut('/group/' . $groupId, $this->toArray());

        $this->getLogger()->debug('Passing the response to Hydrate');
        /** @var XiboUserGroup $userGroup */
        $userGroup = $this->hydrate($response);

        return $userGroup;
    }
public function edit ( $ groupId , $ group , $ libraryQuota = 0 , $ isSystemNotification = 0 , $ isDisplayNotification = 0 ) { $ this -> groupId = $ groupId ; $ this -> group = $ group ; $ this -> libraryQuota = $ libraryQuota ; $ this -> isSystemNotification = $ isSystemNotification ; $ this -> isDisplayNotification = $ isDisplayNotification ; $ this -> getLogger ( ) -> info ( 'Editing User Group ID ' . $ this -> groupId ) ; $ response = $ this -> doPut ( '/group/' . $ groupId , $ this -> toArray ( ) ) ; $ this -> getLogger ( ) -> debug ( 'Passing the response to Hydrate' ) ; /** @var XiboUserGroup $userGroup */ $ userGroup = $ this -> hydrate ( $ response ) ; return $ userGroup ; }
Edit an existing User Group.

@param int $groupId The ID of the group to edit
@param string $group The Group Name
@param int $libraryQuota The User Group library quota in kilobytes
@param int $isSystemNotification Flag (0, 1), should members of this Group receive system notifications?
@param int $isDisplayNotification Flag (0, 1), should members of this Group receive Display notifications for Displays they have permissions to see
@return XiboUserGroup
Edit an existing User Group .