예제 #1
0
 /**
  *
  * @param IXP_Form_User $form The form object
  * @param \Entities\User $object The Doctrine2 entity (being edited or blank for add)
  * @param bool $isEdit True of we are editing an object, false otherwise
  * @return void
  */
 protected function addPostFlush($form, $object, $isEdit)
 {
     if (isset($this->_feParams->userStatus) && $this->_feParams->userStatus == "created") {
         $this->view->newuser = $object->getUser();
         $this->sendWelcomeEmail($object);
     }
     return $this->postFlush($object);
 }