protected function updateValuesFromRequest()
    {
        $data = $this->getRequest()->isPost()
            ? $this->getRequest()->getPost()
            : $this->getRequest()->getQuery();
        if (isset($_FILES)) {
            $data = array_merge($data, $this->request->getUploadedFiles());
        }
        $this->setValues($data);

    }
protected function updateValuesFromRequest()
    {
        $data = $this->getRequest()->isPost()
            ? $this->getRequest()->getPost()
            : $this->getRequest()->getQuery();
        if (isset($_FILES)) {
            $data = array_merge($data, $this->request->getUploadedFiles());
        }
        $this->setValues($data);

    }
protected function updateValuesFromRequest ( ) { $ data = $ this -> getRequest ( ) -> isPost ( ) ? $ this -> getRequest ( ) -> getPost ( ) : $ this -> getRequest ( ) -> getQuery ( ) ; if ( isset ( $ _FILES ) ) { $ data = array_merge ( $ data , $ this -> request -> getUploadedFiles ( ) ) ; } $ this -> setValues ( $ data ) ; }
Assign form values from request
Assign form values from request