silverstripe-framework/control
Hamish Friedlander 4b54383d68 API change request handling to be more orthogonal
RequestHandler#handleAction now exists. It takes the request, and
the action to call on itself. All calls from handleRequest to call an action
will go through this method

Controller#handleAction has had it's signature changed to
match new RequestHandler#handleAction

RequestHandler#findAction has been added, which extracts the
"match URL to rules to find action" portion of RequestHandler#handleRequest
into a separate, overrideable function

GridField#handleAction has beeen renamed to handleAlterAction and
CMSBatchActionHandler#handleAction has been renamed to handleBatchAction to
avoid name clash with new RequestHandler#handleAction

Reason for change: The exact behaviour of request handling depended heavily
on whether you inherited from RequestHandler or Controller, and whether the
rule extracted it's action directly (like "foo/$ID" => 'foo') or dynamically
(like "$Action/$ID" => "handleAction"). This cleans up behaviour so
all calls follow the same path through handleRequest and handleAction, and
the additional behaviour that Controller adds is clear.
2013-02-18 14:56:04 +13:00
..
injector BUG: Fixed the injection of named services. 2013-02-13 23:06:15 +11:00
ContentNegotiator.php Add codesniffer that ensures indentation is with tabs. 2012-12-12 17:33:31 +13:00
Controller.php API change request handling to be more orthogonal 2013-02-18 14:56:04 +13:00
Cookie.php Line length fixes 2012-10-03 18:11:31 +02:00
Director.php Merge remote-tracking branch 'origin/3.0' into 3.1 2013-02-07 21:45:16 +01:00
HTTP.php API HTTP::urlRewriter with (string)$code deprecated in 3.1. Fixed regressions and CSS urls. 2013-01-24 09:49:44 +01:00
HTTPRequest.php API change request handling to be more orthogonal 2013-02-18 14:56:04 +13:00
HTTPResponse.php Merge remote-tracking branch 'origin/3.0' into 3.1 2013-02-07 21:45:16 +01:00
NullHTTPRequest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
PjaxResponseNegotiator.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
RequestFilter.php FEATURE: Added dependency injector for managing creation of new objects and their dependencies. 2012-05-18 12:39:57 +12:00
RequestHandler.php API change request handling to be more orthogonal 2013-02-18 14:56:04 +13:00
RequestProcessor.php BUG Make RequestProcessor->filters settable as a property too 2012-07-19 13:58:58 +12:00
Session.php BUG Adjust Session::setFormMessage to fit with underlying API. 2013-02-12 11:00:36 +13:00