public function channelClientPermAssign($cid, $cldbid, $permid, $permvalue)
  {
    $permident = (is_numeric($permid)) ? "permid" : "permsid";

    $this->execute("channelclientaddperm", array("cid" => $cid, "cldbid" => $cldbid, $permident => $permid, "permvalue" => $permvalue));
  }
public function channelClientPermAssign($cid, $cldbid, $permid, $permvalue)
  {
    $permident = (is_numeric($permid)) ? "permid" : "permsid";

    $this->execute("channelclientaddperm", array("cid" => $cid, "cldbid" => $cldbid, $permident => $permid, "permvalue" => $permvalue));
  }
public function channelClientPermAssign ( $ cid , $ cldbid , $ permid , $ permvalue ) { $ permident = ( is_numeric ( $ permid ) ) ? "permid" : "permsid" ; $ this -> execute ( "channelclientaddperm" , array ( "cid" => $ cid , "cldbid" => $ cldbid , $ permident => $ permid , "permvalue" => $ permvalue ) ) ; }
Adds a set of specified permissions to a client in a specific channel. Multiple permissions can be added by
providing the two parameters of each permission.

@param  integer $cid
@param  integer $cldbid
@param  integer $permid
@param  integer $permvalue
@return void
Adds a set of specified permissions to a client in a specific channel . Multiple permissions can be added by providing the two parameters of each permission .