public function editAction($id)
    {
        $this->initializeScaffolding();

        $this->beforeRead();
        $this->view->record = $this->scaffolding->doRead($id);
        $this->afterRead();

        $this->beforeEdit();
        $this->view->form =  $this->scaffolding->getForm($this->view->record);
        $this->afterEdit();
    }
public function editAction($id)
    {
        $this->initializeScaffolding();

        $this->beforeRead();
        $this->view->record = $this->scaffolding->doRead($id);
        $this->afterRead();

        $this->beforeEdit();
        $this->view->form =  $this->scaffolding->getForm($this->view->record);
        $this->afterEdit();
    }
public function editAction ( $ id ) { $ this -> initializeScaffolding ( ) ; $ this -> beforeRead ( ) ; $ this -> view -> record = $ this -> scaffolding -> doRead ( $ id ) ; $ this -> afterRead ( ) ; $ this -> beforeEdit ( ) ; $ this -> view -> form = $ this -> scaffolding -> getForm ( $ this -> view -> record ) ; $ this -> afterEdit ( ) ; }
Displays form for existing record

@ACL(name="edit", description="Record edit")
@param $id
Displays form for existing record