public function channelGroupPermList($cgid, $permsid = false)
    {
        return $this->execute(
            "channelgrouppermlist",
            array("cgid" => $cgid, $permsid ? "-permsid" : null)
        )->toAssocArray($permsid ? "permsid" : "permid");
    }
public function channelGroupPermList($cgid, $permsid = false)
    {
        return $this->execute(
            "channelgrouppermlist",
            array("cgid" => $cgid, $permsid ? "-permsid" : null)
        )->toAssocArray($permsid ? "permsid" : "permid");
    }
Returns a list of permissions assigned to the channel group specified.

@param  integer $cgid
@param  boolean $permsid
@return array