Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 6b0bbc44bb0505c92e7a45ae6444a63e3d974edd 1 parent f426017
Joel Perras jperras authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 cake/libs/object.php
5 cake/libs/object.php
View
@@ -77,9 +77,10 @@ function toString() {
/**
* 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()) {
Please sign in to comment.
Something went wrong with that request. Please try again.