[920]
Small bugfix for after condition in AjaxHelper::remoteFunction
[922]
Fixed Ticket #224
Added patch from Ticket #221
Added patch from Ticket #222
Renamed renderMethod() to requestAction() the name fits better since we are really requesting another objects response.
Added a default setting to turn of autoRender for the class you are requesting the action from,
this will allow you to request an action and use the return how you like, instead of letting the object output the content
directly to the browser if it would normally do so.
[929]
Adding fix for Itcket #225.
Moved code for beforeFilters to first section of Controller::constructClasses().
Removed current implementaion of beforeFilters. This will be changed to pass
a reference of the object to the filters through a core filters class.
The core filter class will then load the filters and perform all request on the object in the order the
filters are arranged in var $beforeFilters, each beforeFilter needs to be a class that the core filter class will create
an instance of. If one of the filters fails, it will return the object, untouched and not try to process other filters, an
failed var will be set on the controller.
This will be done before data base is initialized for the current object that is being filtered.
Modifed the requestAction() changes are noted below
Using inside of a controller.
Default
$this->requestAction('/controller/action/argument/');
Request Object to render output directly
$this->requestAction('/controller/action/argument/', a('render'));
Using a helper object to make request inside of a view:
Default
$helpername->requestAction('/controller/action/argument/');
Request Object to render output directly
$helpername->requestAction('/controller/action/argument/', a('render'));
Using the View object "$this" in a view to make request:
$this->requestAction('/controller/action/argument/');
Request Object to render output directly
$this->requestAction('/controller/action/argument/', a('render'));
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@930 3807eeeb-6ff5-0310-8944-8be069107fe0
[913]
Refactoring Dispatcher and Scaffold classes.
Removed Dispatcher::scaffoldView() and added it to
Scaffold::_scaffoldView() less coupling between the 2 classes now
[914]
Adding settings to fix issue when using get_class() in PHP 4.
If value of var $casedClas is set in controller this name will be Inflected to the proper table name if underscores are used
in the database.
[915]
Added suggestion from ticket #220
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@917 3807eeeb-6ff5-0310-8944-8be069107fe0