public static function Nodejs::addUserToChannel in Node.js integration 7
Same name and namespace in other branches
- 6 nodejs.module \Nodejs::addUserToChannel()
1 call to Nodejs::addUserToChannel()
- nodejs_add_user_to_channel in ./
nodejs.module - Add a user to a channel.
File
- ./
nodejs.module, line 934
Class
Code
public static function addUserToChannel($uid, $channel) {
$options = array(
'method' => 'POST',
);
return self::httpRequest("nodejs/user/channel/add/{$channel}/{$uid}", $options);
}