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;
    }
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;
    }
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 ; }
Returns array of models model_name => Model used in this form.

@return array
Returns array of models model_name = > Model used in this form .