mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Updating doc block for Object::requestAction. Fixes #6391.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8273 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
f426017a9e
commit
6b0bbc44bb
1 changed files with 3 additions and 2 deletions
|
@ -77,9 +77,10 @@ class Object {
|
|||
/**
|
||||
* Calls a controller's method from any location.
|
||||
*
|
||||
* @param string $url URL in the form of Cake URL ("/controller/method/parameter")
|
||||
* @param mixed $url String or array-based url.
|
||||
* @param array $extra if array includes the key "return" it sets the AutoRender to true.
|
||||
* @return mixed Success (true/false) or contents if 'return' is set in $extra
|
||||
* @return mixed Boolean true or false on success/failure, or contents
|
||||
* of rendered action if 'return' is set in $extra.
|
||||
* @access public
|
||||
*/
|
||||
function requestAction($url, $extra = array()) {
|
||||
|
|
Loading…
Reference in a new issue