34k+
News
Guide
API
Wiki
Forum
Community
Places
Members
Hall of Fame
Badges
More
Learn
Books
Resources
Develop
Download Yii
Extensions
Report an Issue
Report a Security Issue
Contribute to Yii
Donate
About
Release Cycle
License
Team
Official Logos and Design
Login
Building a search GET request with scenarios ; calling a SearchModel from URLs...
Comparing
#5
with
#6
Revision #6 was created by
Louis Gac
on Apr 29, 2015, 2:56:42 PM.
correct name : /app/controllers/MyCont::actionMyaction()
« Previous (#5)
Content
[...]
}
```
Now, inside the controller, you can parse the GET request to the the search method in the usual simple way :
/app/controllers/MyCont::
search
actionMyaction
()
```php
public function actionMyaction($params)
{
...
[...]