Demos
·
Guide
·
Class Reference
·
Wiki
·
Extensions
·
Forum
·
Live Chat
·
Login
About
About Yii
Features
Performance
License
Contact Us
Downloads
Framework
Extensions
Demos
Logo
Documentation
Take the Tour
Tutorials
Class Reference
Wiki
Screencasts
Resources
Development
Contribute to Yii
Latest Updates
Report a Bug
Report a Security Issue
Community
Forum
Live Chat
News
Hall of Fame
Badges
search
Documentation
Take the Tour
Tutorials
Class Reference
Wiki
Screencasts
Resources
Wiki
Follow @yiiframework
Articles tagged with "scopes", sorted by views
X
173
Displaying 1-1 of 1 result(s).
An easy way to use escopes and CActiveDataProvider
Created 2 years ago by
Rafael Garcia
–
Tips
–
8 comments
– viewed 14,382 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.
tags:
CActiveDataProvider
,
scopes
,
gridview
Write new article
Search Wiki
Sorted by date
Sorted by date (updated)
Sorted by rating
Sorted by comments
Sorted by views
All categories
Tips
(113)
How-tos
(197)
Tutorials
(180)
FAQs
(7)
Others
(14)
Popular Tags
AJAX
(27)
Authentication
(19)
CGridView
(42)
File upload
(10)
Forms
(8)
Logging
(9)
URL
(10)
Widgets
(12)
active record
(12)
config
(12)
database
(13)
filter
(10)
i18n
(17)
search
(9)
security
(19)
tutorial
(22)
understanding
(11)
user
(9)
views
(11)
yii
(25)
Recent comments
Johnny Gan
on
Relations: BELONGS_TO versus HAS_ONE
Johnny Gan
on
Beginner / Intro Tutorials (please add to /...
demo.ideaentity
on
How to generate Yii-like Documentation
trond
on
How to provide a fallback or mapping for...
trond
on
dfhmn