You are here

function bbb_encode_int in BigBlueButton 7

Same name and namespace in other branches
  1. 6 bbb.module \bbb_encode_int()
1 call to bbb_encode_int()
bbb_create_meeting_id in ./bbb.module

File

./bbb.module, line 865
Big Blue Button - Enables universities and colleges to deliver a high-quality learning experience.

Code

function bbb_encode_int($string) {
  $ords = array();
  for ($i = 0; $i < drupal_strlen($string); $i++) {
    $ords[] = ord(drupal_substr($string, $i, 1));
  }
  return implode($ords);
}