Wiki

Articles tagged with "scopes", sorted by date (updated)X
Displaying 1-1 of 1 result(s).

An easy way to use escopes and CActiveDataProvider

Updated 2 years ago by Rafael GarciaTips8 comments – viewed 13,936 times – ( +1 / -1 )
Often used scopes to define criteria in our models. This is a very useful feature as it ensures that in any part of application applying the criteria defined by the scope when called it.