original_string: public function getOptions()
      {
          if (isset($this->options['id']))
              unset($this->options['id']);
  
          $this->registerAnimateCss();
  
          if (ArrayHelper::isIndexed($this->options)) {
              $str = '';
              foreach ($this->options as $value) {
                  $str .= '"' . $value . '",';
              }
              return chop($str, ' ,');
          }
          return Json::encode($this->options);
      }
code: public function getOptions()
      {
          if (isset($this->options['id']))
              unset($this->options['id']);
  
          $this->registerAnimateCss();
  
          if (ArrayHelper::isIndexed($this->options)) {
              $str = '';
              foreach ($this->options as $value) {
                  $str .= '"' . $value . '",';
              }
              return chop($str, ' ,');
          }
          return Json::encode($this->options);
      }
code_tokens: public function getOptions ( ) { if ( isset ( $ this -> options [ 'id' ] ) ) unset ( $ this -> options [ 'id' ] ) ; $ this -> registerAnimateCss ( ) ; if ( ArrayHelper :: isIndexed ( $ this -> options ) ) { $ str = '' ; foreach ( $ this -> options as $ value ) { $ str .= '"' . $ value . '",' ; } return chop ( $ str , ' ,' ) ; } return Json :: encode ( $ this -> options ) ; }
docstring: Get widget options
  
  @return string
docstring_tokens: Get widget options