Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A controller is responsible for executing a sequence of instructions in response to some stimulus (maybe a command, action, or event). This tag is appropriate for questions pertaining to the controller of a Model-View-Controller pattern.
1
vote
Why does the FormController instantiate models with the ignore_request flag set to true?
This results in an HTTP POST to the server with the task parameter set, and control gets routed to the appropriate controller php file in the component controllers directory. … The controller needs to get the form loaded in order to validate the POST data, and this involves going to the component model and using it to load the form. …
1
vote
Accepted
Ajax Request returning the whole page not a specifc value
The usual approach is to call
parent::display()
in your controller code (ie in submit()). …