original_string: public function getFields()
      {
          $models = array();
  
          /**
           * @var Form_Field $form_field
           * @var Field $model_field
           */
          foreach ($this->field_associations as $form_field => $model_field) {
              $v = $this->form->get($form_field);
              $model_field->set($v);
              if (!isset($models[$model_field->owner->name])) {
                  $models[$model_field->owner->name] = $model_field->owner;
              }
          }
  
          return $models;
      }
code: public function getFields()
      {
          $models = array();
  
          /**
           * @var Form_Field $form_field
           * @var Field $model_field
           */
          foreach ($this->field_associations as $form_field => $model_field) {
              $v = $this->form->get($form_field);
              $model_field->set($v);
              if (!isset($models[$model_field->owner->name])) {
                  $models[$model_field->owner->name] = $model_field->owner;
              }
          }
  
          return $models;
      }
code_tokens: public function getFields ( ) { $ models = array ( ) ; /**
           * @var Form_Field $form_field
           * @var Field $model_field
           */ foreach ( $ this -> field_associations as $ form_field => $ model_field ) { $ v = $ this -> form -> get ( $ form_field ) ; $ model_field -> set ( $ v ) ; if ( ! isset ( $ models [ $ model_field -> owner -> name ] ) ) { $ models [ $ model_field -> owner -> name ] = $ model_field -> owner ; } } return $ models ; }
docstring: Returns array of models model_name => Model used in this form.
  
  @return array
docstring_tokens: Returns array of models model_name = > Model used in this form .