public function channelGroupPermAssign($cgid, $permid, $permvalue)
  {
    $permident = (is_numeric($permid)) ? "permid" : "permsid";

    $this->execute("channelgroupaddperm", array("cgid" => $cgid, $permident => $permid, "permvalue" => $permvalue));
  }
public function channelGroupPermAssign($cgid, $permid, $permvalue)
  {
    $permident = (is_numeric($permid)) ? "permid" : "permsid";

    $this->execute("channelgroupaddperm", array("cgid" => $cgid, $permident => $permid, "permvalue" => $permvalue));
  }
public function channelGroupPermAssign ( $ cgid , $ permid , $ permvalue ) { $ permident = ( is_numeric ( $ permid ) ) ? "permid" : "permsid" ; $ this -> execute ( "channelgroupaddperm" , array ( "cgid" => $ cgid , $ permident => $ permid , "permvalue" => $ permvalue ) ) ; }
Adds a set of specified permissions to the channel group specified. Multiple permissions
can be added by providing the two parameters of each permission in separate arrays.

@param  integer $cgid
@param  integer $permid
@param  integer $permvalue
@return void
Adds a set of specified permissions to the channel group specified . Multiple permissions can be added by providing the two parameters of each permission in separate arrays .