silverstripe-framework/admin/code
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
..
AdminRootController.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
CMSBatchAction.php APICHANGE: Use late static binding for Object::has_extension() 2012-11-07 11:07:55 +13:00
CMSBatchActionHandler.php API change request handling to be more orthogonal 2013-02-18 14:56:04 +13:00
CMSMenu.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
CMSMenuItem.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00
CMSPreviewable.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
CMSProfileController.php BUG Remove "delete" button from "My Profile" (fixes #8121) 2012-12-15 20:02:17 +01:00
GroupImportForm.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
LeftAndMain.php ENHANCEMENT: LeftAndMain breadcrumbs to use MenuTitle 2012-12-17 17:41:04 +01:00
LeftAndMainExtension.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
MemberImportForm.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
ModelAdmin.php Breadcrumb/back nav in ModelAdmin now retains search params 2013-01-21 12:04:20 +01:00
SecurityAdmin.php Unescaped breadcrumbs for inline groups display (fixes #7936) 2013-01-21 08:51:16 +01:00