Skip to content
This repository
Browse code

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 authored August 02, 2009

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. 5  cake/libs/object.php
5  cake/libs/object.php
@@ -77,9 +77,10 @@ function toString() {
77 77
 /**
78 78
  * Calls a controller's method from any location.
79 79
  *
80  
- * @param string $url URL in the form of Cake URL ("/controller/method/parameter")
  80
+ * @param mixed $url String or array-based url.
81 81
  * @param array $extra if array includes the key "return" it sets the AutoRender to true.
82  
- * @return mixed Success (true/false) or contents if 'return' is set in $extra
  82
+ * @return mixed Boolean true or false on success/failure, or contents
  83
+ *               of rendered action if 'return' is set in $extra.
83 84
  * @access public
84 85
  */
85 86
 	function requestAction($url, $extra = array()) {

0 notes on commit 6b0bbc4

Please sign in to comment.
Something went wrong with that request. Please try again.