示例#1
0
 public function executeUpdateInfoSupp(sfWebRequest $request)
 {
     $this->forward404Unless($this->profile = Doctrine_Core::getTable('profile')->find(array($request->getParameter('id'))), sprintf('Object article does not exist (%s).', $request->getParameter('id')));
     $this->profileUser = ProfileTable::getInstance()->getProfileForUser($this->getUser()->getGuardUser()->getId())->fetchOne();
     if ($this->profileUser->getId() == $this->profile->getId()) {
         $this->form = new ProfileFormInfoSupp($this->profile);
         $this->processFormInfoSupp($request, $this->form);
     }
 }