Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Orm
Could it use the only validation?
mantinia
May 2014
I'd like to use only validation like this.
if ($model->validation()) {
$model->save();
} else {
// error
}
I know it validates auto at before save in the Observer,
but I want to use the validation ONLY.
Please help.
Harro
May 2014
See
http://www.fuelphp.com/forums/discussion/13052/admin-scaffolding-edit-method-wants-to-call-a-static-method-validate-on-model#Item_4
where I just answered the same question.
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,088
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
260
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
Harro
May 2014