Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function executeUpdate(sfWebRequest $request)
- {
- $this->forward404Unless($request->isMethod('post') || $request->isMethod('put'));
- $this->forward404Unless($video = VideoPeer::retrieveByPk($request->getParameter('id')), sprintf('Object video does not exist (%s).', $request->getParameter('id')));
- echo'ici';
- $this->form = new VideoForm($video);
- print_r($request->getParameterHolder->getAll());
- $this->form->bind($request->getParameter('video'));
- // $this->processForm($request, $this->form);
- $this->setTemplate('edit');
- }
Add Comment
Please, Sign In to add comment