original_string: public function create($model = null, array $options = [])
      {
          $options += ['process' => false, 'jsForm' => false];
          $options = $this->addClass($options, $this->_class('form'));
  
          $isProcess = $options['process'];
  
          if ($isProcess !== false) {
              $_options = [
                  'url' => [
                      'plugin'     => $this->request->getParam('plugin'),
                      'controller' => $this->request->getParam('controller'),
                      'action'     => 'process'
                  ]
              ];
  
              $options['jsForm'] = true;
              $options = Hash::merge($_options, $options);
          }
  
          $isJsForm = $options['jsForm'];
          if ($isJsForm) {
              $this->_isJsForm = true;
              $options = $this->addClass($options, 'jsForm');
          }
  
          unset($options['process'], $options['jsForm']);
  
          return parent::create($model, $options);
      }
code: public function create($model = null, array $options = [])
      {
          $options += ['process' => false, 'jsForm' => false];
          $options = $this->addClass($options, $this->_class('form'));
  
          $isProcess = $options['process'];
  
          if ($isProcess !== false) {
              $_options = [
                  'url' => [
                      'plugin'     => $this->request->getParam('plugin'),
                      'controller' => $this->request->getParam('controller'),
                      'action'     => 'process'
                  ]
              ];
  
              $options['jsForm'] = true;
              $options = Hash::merge($_options, $options);
          }
  
          $isJsForm = $options['jsForm'];
          if ($isJsForm) {
              $this->_isJsForm = true;
              $options = $this->addClass($options, 'jsForm');
          }
  
          unset($options['process'], $options['jsForm']);
  
          return parent::create($model, $options);
      }
code_tokens: public function create ( $ model = null , array $ options = [ ] ) { $ options += [ 'process' => false , 'jsForm' => false ] ; $ options = $ this -> addClass ( $ options , $ this -> _class ( 'form' ) ) ; $ isProcess = $ options [ 'process' ] ; if ( $ isProcess !== false ) { $ _options = [ 'url' => [ 'plugin' => $ this -> request -> getParam ( 'plugin' ) , 'controller' => $ this -> request -> getParam ( 'controller' ) , 'action' => 'process' ] ] ; $ options [ 'jsForm' ] = true ; $ options = Hash :: merge ( $ _options , $ options ) ; } $ isJsForm = $ options [ 'jsForm' ] ; if ( $ isJsForm ) { $ this -> _isJsForm = true ; $ options = $ this -> addClass ( $ options , 'jsForm' ) ; } unset ( $ options [ 'process' ] , $ options [ 'jsForm' ] ) ; return parent :: create ( $ model , $ options ) ; }
docstring: Create html form.
  
  @param   mixed $model
  @param   array $options
  @return  string
docstring_tokens: Create html form .