include/javascript/javascript.php
\javascript
Package:
Properties
Methods
addAllFields(
$prefix, $skip_fields
=
null, $translate
=
false
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$prefix | ||
$skip_fields | ||
$translate |
addField(
$field, $required, $prefix
=
'', $displayField
=
'', $translate
=
false
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$field | ||
$required | ||
$prefix | ||
$displayField | ||
$translate |
addFieldCallback(
$field, $type, $displayName, $required, $prefix, $callback
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$field | ||
$type | ||
$displayName | ||
$required | ||
$prefix | ||
$callback |
addFieldDateBefore(
$field, $type, $displayName, $required, $prefix
=
'', $compareTo
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$field | ||
$type | ||
$displayName | ||
$required | ||
$prefix | ||
$compareTo |
addFieldDateBeforeAllowBlank(
$field, $type, $displayName, $required, $prefix
=
'', $compareTo, $allowBlank
=
'true'
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$field | ||
$type | ||
$displayName | ||
$required | ||
$prefix | ||
$compareTo | ||
$allowBlank |
addFieldGeneric(
$field, $type, $displayName, $required, $prefix
=
''
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$field | ||
$type | ||
$displayName | ||
$required | ||
$prefix |
addFieldIsInArray(
$field, $type, $displayName, $required, $prefix, $arr, $operator
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$field | ||
$type | ||
$displayName | ||
$required | ||
$prefix | ||
$arr | ||
$operator |
addFieldIsValidDate(
$field, $type, $displayName, $msg, $required, $prefix
=
''
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$field | ||
$type | ||
$displayName | ||
$msg | ||
$required | ||
$prefix |
addFieldIsValidTime(
$field, $type, $displayName, $msg, $required, $prefix
=
''
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$field | ||
$type | ||
$displayName | ||
$msg | ||
$required | ||
$prefix |
addFieldRange(
$field, $type, $displayName, $required, $prefix
=
'', $min, $max
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$field | ||
$type | ||
$displayName | ||
$required | ||
$prefix | ||
$min | ||
$max |
addSpecialField(
$dispField, $realField, $type, $required, $prefix
=
''
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$dispField | ||
$realField | ||
$type | ||
$required | ||
$prefix |
addToValidateBinaryDependency(
$field, $type, $displayName, $required, $prefix
=
'', $compareTo
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$field | ||
$type | ||
$displayName | ||
$required | ||
$prefix | ||
$compareTo |
addToValidateComparison(
$field, $type, $displayName, $required, $prefix
=
'', $compareTo
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$field | ||
$type | ||
$displayName | ||
$required | ||
$prefix | ||
$compareTo |
getScript(
$showScriptTag
=
true, $clearValidateFields
=
true
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$showScriptTag | ||
$clearValidateFields |