cakephp2-php8/libs/helpers
phpnut 3fb93807a9 Merging [920] [922] [929]
[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
2005-09-21 05:48:09 +00:00
..
acl.php merging changes and bug fixes from sandboxes 2005-09-07 01:52:45 +00:00
ajax.php Merging [920] [922] [929] 2005-09-21 05:48:09 +00:00
form.php merging changes and bug fixes from sandboxes 2005-09-07 01:52:45 +00:00
html.php Merging [920] [922] [929] 2005-09-21 05:48:09 +00:00
javascript.php Some changes to allow calling a method from another controller in the view. 2005-09-19 01:16:05 +00:00
number.php merging changes and bug fixes from sandboxes 2005-09-07 01:52:45 +00:00
text.php merging changes and bug fixes from sandboxes 2005-09-07 01:52:45 +00:00
time.php correcting mime type on files 2005-09-20 00:23:17 +00:00