original_string: public function get_js_options() {
          $jsoptions = '';
  
          foreach ($this->params as $var => $val) {
              if (is_string($val) || is_int($val)) {
                  $jsoptions .= "$var=$val,";
              } elseif (is_bool($val)) {
                  $jsoptions .= ($val) ? "$var," : "$var=0,";
              }
          }
  
          $jsoptions = substr($jsoptions, 0, strlen($jsoptions) - 1);
  
          return $jsoptions;
      }
code: public function get_js_options() {
          $jsoptions = '';
  
          foreach ($this->params as $var => $val) {
              if (is_string($val) || is_int($val)) {
                  $jsoptions .= "$var=$val,";
              } elseif (is_bool($val)) {
                  $jsoptions .= ($val) ? "$var," : "$var=0,";
              }
          }
  
          $jsoptions = substr($jsoptions, 0, strlen($jsoptions) - 1);
  
          return $jsoptions;
      }
code_tokens: public function get_js_options ( ) { $ jsoptions = '' ; foreach ( $ this -> params as $ var => $ val ) { if ( is_string ( $ val ) || is_int ( $ val ) ) { $ jsoptions .= "$var=$val," ; } elseif ( is_bool ( $ val ) ) { $ jsoptions .= ( $ val ) ? "$var," : "$var=0," ; } } $ jsoptions = substr ( $ jsoptions , 0 , strlen ( $ jsoptions ) - 1 ) ; return $ jsoptions ; }
docstring: Returns a string of concatenated option->value pairs used by JS to call the popup window,
  based on this object's variables
  
  @return string String of option->value pairs for JS popup function.
docstring_tokens: Returns a string of concatenated option - > value pairs used by JS to call the popup window based on this object s variables