public function serverGroupPermAssign($sgid, $permid, $permvalue, $permnegated = FALSE, $permskip = FALSE)
  {
    $permident = (is_numeric($permid)) ? "permid" : "permsid";

    $this->execute("servergroupaddperm", array("sgid" => $sgid, $permident => $permid, "permvalue" => $permvalue, "permnegated" => $permnegated, "permskip" => $permskip));
  }
public function serverGroupPermAssign($sgid, $permid, $permvalue, $permnegated = FALSE, $permskip = FALSE)
  {
    $permident = (is_numeric($permid)) ? "permid" : "permsid";

    $this->execute("servergroupaddperm", array("sgid" => $sgid, $permident => $permid, "permvalue" => $permvalue, "permnegated" => $permnegated, "permskip" => $permskip));
  }
public function serverGroupPermAssign ( $ sgid , $ permid , $ permvalue , $ permnegated = FALSE , $ permskip = FALSE ) { $ permident = ( is_numeric ( $ permid ) ) ? "permid" : "permsid" ; $ this -> execute ( "servergroupaddperm" , array ( "sgid" => $ sgid , $ permident => $ permid , "permvalue" => $ permvalue , "permnegated" => $ permnegated , "permskip" => $ permskip ) ) ; }
Adds a set of specified permissions to the server group specified. Multiple permissions
can be added by providing the four parameters of each permission in separate arrays.

@param  integer $sgid
@param  integer $permid
@param  integer $permvalue
@param  integer $permnegated
@param  integer $permskip
@return void
Adds a set of specified permissions to the server group specified . Multiple permissions can be added by providing the four parameters of each permission in separate arrays .