|
| static | draggable ($attr="id") |
| |
| static | dropZone ($jqueryDone, $jsCallback="") |
| |
| static | fileDropZone ($jsCallback="") |
| |
| static | containsCode ($expression) |
| |
| static | isFunction ($jsCode) |
| |
| static | fileUploadBehavior ($id='') |
| |
| static | prep_element ($element) |
| | Puts HTML element in quotes for use in jQuery code unless the supplied element is the Javascript 'this' object, in which case no quotes are added.
|
| |
| static | prep_value ($value) |
| | Puts HTML values in quotes for use in jQuery code unless the supplied value contains the Javascript 'this' or 'event' object, in which case no quotes are added.
|
| |
| static | prep_jquery_selector ($value) |
| |
|
| static | $preventDefault = "\nif(event && event.preventDefault) event.preventDefault();\n" |
| |
| static | $stopPropagation = "\nif(event && event.stopPropagation) event.stopPropagation();\n" |
| |
Definition at line 4 of file Javascript.php.
◆ containsCode()
| static containsCode |
( |
|
$expression | ) |
|
|
static |
◆ draggable()
| static draggable |
( |
|
$attr = "id" | ) |
|
|
static |
◆ dropZone()
| static dropZone |
( |
|
$jqueryDone, |
|
|
|
$jsCallback = "" |
|
) |
| |
|
static |
◆ fileDropZone()
| static fileDropZone |
( |
|
$jsCallback = "" | ) |
|
|
static |
◆ fileUploadBehavior()
| static fileUploadBehavior |
( |
|
$id = '' | ) |
|
|
static |
◆ isFunction()
| static isFunction |
( |
|
$jsCode | ) |
|
|
static |
◆ prep_element()
| static prep_element |
( |
|
$element | ) |
|
|
static |
Puts HTML element in quotes for use in jQuery code unless the supplied element is the Javascript 'this' object, in which case no quotes are added.
- Parameters
-
- Returns
- string
Definition at line 48 of file Javascript.php.
◆ prep_jquery_selector()
| static prep_jquery_selector |
( |
|
$value | ) |
|
|
static |
◆ prep_value()
| static prep_value |
( |
|
$value | ) |
|
|
static |
Puts HTML values in quotes for use in jQuery code unless the supplied value contains the Javascript 'this' or 'event' object, in which case no quotes are added.
- Parameters
-
- Returns
- string
Definition at line 63 of file Javascript.php.
◆ $preventDefault
| $preventDefault = "\nif(event && event.preventDefault) event.preventDefault();\n" |
|
static |
◆ $stopPropagation
| $stopPropagation = "\nif(event && event.stopPropagation) event.stopPropagation();\n" |
|
static |
The documentation for this class was generated from the following file: