mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-06 03:22:39 +00:00
Updating mixed @param documentation to seperate list of accepted types
This commit is contained in:
parent
e58e3c5314
commit
f7ce5262b7
98 changed files with 462 additions and 462 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue