Updating mixed @param documentation to seperate list of accepted types

This commit is contained in:
Jelle Henkens 2012-05-13 01:43:31 +01:00
parent e58e3c5314
commit f7ce5262b7
98 changed files with 462 additions and 462 deletions

View file

@ -283,7 +283,7 @@ class JsHelper extends AppHelper {
* - `buffer` - Disable the buffering and return a script tag in addition to the link.
*
* @param string $title Title for the link.
* @param mixed $url Mixed either a string URL or an cake url array.
* @param string|array $url Mixed either a string URL or an cake url array.
* @param array $options Options for both the HTML element and Js::request()
* @return string Completed link. If buffering is disabled a script tag will be returned as well.
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/js.html#JsHelper::link
@ -321,8 +321,8 @@ class JsHelper extends AppHelper {
* output when the buffer is fetched with `JsHelper::getBuffer()` or `JsHelper::writeBuffer()`
* The Javascript variable used to output set variables can be controlled with `JsHelper::$setVariable`
*
* @param mixed $one Either an array of variables to set, or the name of the variable to set.
* @param mixed $two If $one is a string, $two is the value for that key.
* @param string|array $one Either an array of variables to set, or the name of the variable to set.
* @param string|array $two If $one is a string, $two is the value for that key.
* @return void
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/js.html#JsHelper::set
*/