public function edit($id)
    {
        $this->builder->setMode(Builder::MODE_EDIT);
        $this->builder->setResourceId($id);

        $this->setFieldValue($id);

        return $this;
    }
public function edit($id)
    {
        $this->builder->setMode(Builder::MODE_EDIT);
        $this->builder->setResourceId($id);

        $this->setFieldValue($id);

        return $this;
    }
public function edit ( $ id ) { $ this -> builder -> setMode ( Builder :: MODE_EDIT ) ; $ this -> builder -> setResourceId ( $ id ) ; $ this -> setFieldValue ( $ id ) ; return $ this ; }
Generate a edit form.

@param $id

@return $this
Generate a edit form .