public function setFields()
    {
        foreach ($this->field_associations as $form_field => $model_field) {
            $this->form->set($form_field, $model_field->get());
        }
    }
public function setFields()
    {
        foreach ($this->field_associations as $form_field => $model_field) {
            $this->form->set($form_field, $model_field->get());
        }
    }
public function setFields ( ) { foreach ( $ this -> field_associations as $ form_field => $ model_field ) { $ this -> form -> set ( $ form_field , $ model_field -> get ( ) ) ; } }
Copies model field values into form.
Copies model field values into form .