original_string: protected function createRoute()
      {
          $route = (array)$this->clientRoute;
          $route['id'] = $this->options['id'];
          if (!empty($this->filter)) {
              $route['filter'] = $this->filter;
          }
          if ($this->multiple) {
              $route['multiple'] = 1;
          }
          return $route;
      }
code: protected function createRoute()
      {
          $route = (array)$this->clientRoute;
          $route['id'] = $this->options['id'];
          if (!empty($this->filter)) {
              $route['filter'] = $this->filter;
          }
          if ($this->multiple) {
              $route['multiple'] = 1;
          }
          return $route;
      }
code_tokens: protected function createRoute ( ) { $ route = ( array ) $ this -> clientRoute ; $ route [ 'id' ] = $ this -> options [ 'id' ] ; if ( ! empty ( $ this -> filter ) ) { $ route [ 'filter' ] = $ this -> filter ; } if ( $ this -> multiple ) { $ route [ 'multiple' ] = 1 ; } return $ route ; }
docstring: Creates route to elFinder client
  @return array
docstring_tokens: Creates route to elFinder client