How will I determine if a new model was successfully save in symfony? I checked the return value of a model. For example $ret = $model->save(); but $ret returns null.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Usually, an exception (e.g. PropelException) will be thrown if something goes wrong. Text message will look like this:
PropelException: Unable to execute UPDATE (ADD) statement...