|
|
@@ -57,7 +57,7 @@ abstract class JsBaseEngineHelper extends AppHelper {
|
|
|
protected $_callbackArguments = array();
|
|
|
|
|
|
/**
|
|
|
- * Create an `alert()` message in Javascript
|
|
|
+ * Create an `alert()` message in JavaScript
|
|
|
*
|
|
|
* @param string $message Message you want to alter.
|
|
|
* @return string completed alert()
|
|
|
@@ -68,7 +68,7 @@ abstract class JsBaseEngineHelper extends AppHelper {
|
|
|
|
|
|
/**
|
|
|
* Redirects to an URL. Creates a window.location modification snippet
|
|
|
- * that can be used to trigger 'redirects' from Javascript.
|
|
|
+ * that can be used to trigger 'redirects' from JavaScript.
|
|
|
*
|
|
|
* @param string|array $url URL
|
|
|
* @return string completed redirect in javascript
|
|
|
@@ -101,7 +101,7 @@ abstract class JsBaseEngineHelper extends AppHelper {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * Create a `prompt()` Javascript function
|
|
|
+ * Create a `prompt()` JavaScript function
|
|
|
*
|
|
|
* @param string $message Message you want to prompt.
|
|
|
* @param string $default Default message
|
|
|
@@ -297,7 +297,7 @@ abstract class JsBaseEngineHelper extends AppHelper {
|
|
|
* - `stop` - Whether you want the event to stopped. (defaults to true)
|
|
|
*
|
|
|
* @param string $type Type of event to bind to the current dom id
|
|
|
- * @param string $callback The Javascript function you wish to trigger or the function literal
|
|
|
+ * @param string $callback The JavaScript function you wish to trigger or the function literal
|
|
|
* @param array $options Options for the event.
|
|
|
* @return string completed event handler
|
|
|
*/
|
|
|
@@ -363,7 +363,7 @@ abstract class JsBaseEngineHelper extends AppHelper {
|
|
|
* - `type` - Data type for response. 'json' and 'html' are supported. Default is html for most libraries.
|
|
|
* - `evalScripts` - Whether or not <script> tags should be eval'ed.
|
|
|
* - `dataExpression` - Should the `data` key be treated as a callback. Useful for supplying `$options['data']` as
|
|
|
- * another Javascript expression.
|
|
|
+ * another JavaScript expression.
|
|
|
*
|
|
|
* @param string|array $url Array or String URL to target with the request.
|
|
|
* @param array $options Array of options. See above for cross library supported options
|
|
|
@@ -475,7 +475,7 @@ abstract class JsBaseEngineHelper extends AppHelper {
|
|
|
abstract public function serializeForm($options = array());
|
|
|
|
|
|
/**
|
|
|
- * Parse an options assoc array into an Javascript object literal.
|
|
|
+ * Parse an options assoc array into an JavaScript object literal.
|
|
|
* Similar to object() but treats any non-integer value as a string,
|
|
|
* does not include `{ }`
|
|
|
*
|