Guide
API
Wiki
Forum
Community
Live Chat
Extensions
Resources
Members
Hall of Fame
Badges
More
Learn
Books
Resources
Develop
Download Yii
Report an Issue
Report a Security Issue
Contribute to Yii
Donate
About
What is Yii?
Release Cycle
News
License
Team
Official Logos and Design
Login
Yii Framework Wiki
Write
new article
Categories
All
Tips
342
How-tos
445
Tutorials
288
FAQs
45
Others
56
Popular Tags
All
yii2
90
CGridView
69
AJAX
57
Yii
48
tutorial
39
model
31
i18n
30
authentication
28
security
26
database
24
Recent Comments
Kamil PomykaĆa
on
JWT authentication tutorial
3 months ago
JQL
on
How to add a DropDown Language Picker (i18n) to the Menu
3 months ago
JQL
on
How to add a DropDown Language Picker (i18n) to the Menu
4 months ago
krishuk
on
Filter & Sort by calculated/related fields in GridView Yii 2.0
4 months ago
apalanca
on
Filter & Sort by calculated/related fields in GridView Yii 2.0
10 months ago
Parameterized Named Scope. Re-use the same set of filtering criteria in various models and controllers. Also re-use the same Parameterized Named Scope in all find() functions and in dataprovider.
- History
Total
2
items.
#
Memo
Updater
Updated At
Actions
22
added link to defaultScope wiki
Gerhard Liebenberg
Apr 27, 2013, 10:59:39 PM
view diff
revert to
21
correct typo
Gerhard Liebenberg
Apr 21, 2013, 10:07:07 PM
view diff
revert to
Select exactly two versions for comparison.
Compare Versions
3
1
3
followers
Viewed:
23 471 times
Version:
1.1
Category:
How-tos
Tags:
reuse filtering criteria; parameterized named scope in dataprovider
Written by:
Gerhard Liebenberg
Last updated by:
Gerhard Liebenberg
Created on:
Jan 7, 2013
Last updated:
10 years ago
Update Article
Revisions
View all history
10 years ago
by
Gerhard Liebenberg
added link to defaultScope wiki
11 years ago
by
Gerhard Liebenberg
correct typo