Reputation: 21
Can any one please explain me what are all the best scenario to use particular dataprovider.
For ex :
When to use CActiveDataProvider ? (pros and cons)
When to use CArrayDataProvider ? (pros and cons)
When to use CSqlDataProvider ? (pros and cons)
Upvotes: 2
Views: 103
Reputation: 875
findAll()
).You can use all three of them to construct html with for example the (default) widgets.
The docs are quite clear on when and how to use the three:
Upvotes: 1