include/javascript/javascript.php

Show: inherited
Table of Contents

\javascript

Package:

Properties

Propertypublic  $formname= ''form''
Default value'form'Details
Type
n/a
Propertypublic  $script= ''''
Default value''Details
Type
n/a
Propertypublic  $sugarbean= 'null'
Default valuenullDetails
Type
n/a

Methods

methodpublicaddActionMenu( ) : void

methodpublicaddAllFields(  $prefix,  $skip_fields = null,  $translate = false ) : void

Parameters
Name Type Description
$prefix
$skip_fields
$translate
methodpublicaddField(  $field,  $required,  $prefix = '',  $displayField = '',  $translate = false ) : void

Parameters
Name Type Description
$field
$required
$prefix
$displayField
$translate
methodpublicaddFieldCallback(  $field,  $type,  $displayName,  $required,  $prefix,  $callback ) : void

Parameters
Name Type Description
$field
$type
$displayName
$required
$prefix
$callback
methodpublicaddFieldDateBefore(  $field,  $type,  $displayName,  $required,  $prefix = '',  $compareTo ) : void

Parameters
Name Type Description
$field
$type
$displayName
$required
$prefix
$compareTo
methodpublicaddFieldDateBeforeAllowBlank(  $field,  $type,  $displayName,  $required,  $prefix = '',  $compareTo,  $allowBlank = 'true' ) : void

Parameters
Name Type Description
$field
$type
$displayName
$required
$prefix
$compareTo
$allowBlank
methodpublicaddFieldGeneric(  $field,  $type,  $displayName,  $required,  $prefix = '' ) : void

Parameters
Name Type Description
$field
$type
$displayName
$required
$prefix
methodpublicaddFieldIsInArray(  $field,  $type,  $displayName,  $required,  $prefix,  $arr,  $operator ) : void

Parameters
Name Type Description
$field
$type
$displayName
$required
$prefix
$arr
$operator
methodpublicaddFieldIsValidDate(  $field,  $type,  $displayName,  $msg,  $required,  $prefix = '' ) : void

Parameters
Name Type Description
$field
$type
$displayName
$msg
$required
$prefix
methodpublicaddFieldIsValidTime(  $field,  $type,  $displayName,  $msg,  $required,  $prefix = '' ) : void

Parameters
Name Type Description
$field
$type
$displayName
$msg
$required
$prefix
methodpublicaddFieldRange(  $field,  $type,  $displayName,  $required,  $prefix = '',  $min,  $max ) : void

Parameters
Name Type Description
$field
$type
$displayName
$required
$prefix
$min
$max
methodpublicaddRequiredFields(  $prefix = '' ) : void

Parameters
Name Type Description
$prefix
methodpublicaddSpecialField(  $dispField,  $realField,  $type,  $required,  $prefix = '' ) : void

Parameters
Name Type Description
$dispField
$realField
$type
$required
$prefix
methodpublicaddToValidateBinaryDependency(  $field,  $type,  $displayName,  $required,  $prefix = '',  $compareTo ) : void

Parameters
Name Type Description
$field
$type
$displayName
$required
$prefix
$compareTo
methodpublicaddToValidateComparison(  $field,  $type,  $displayName,  $required,  $prefix = '',  $compareTo ) : void

Parameters
Name Type Description
$field
$type
$displayName
$required
$prefix
$compareTo
methodpublicbuildStringToTranslateInSmarty(  $string ) : void

Parameters
Name Type Description
$string
methodprotectedgetRequiredString(  $required ) : void

Parameters
Name Type Description
$required
methodpublicgetScript(  $showScriptTag = true,  $clearValidateFields = true ) : void

Parameters
Name Type Description
$showScriptTag
$clearValidateFields
methodpublicjavascript( ) : void

methodpublicsetFormName(  $name ) : void

Parameters
Name Type Description
$name
methodpublicsetSugarBean(  $sugar ) : void

Parameters
Name Type Description
$sugar
methodpublicstripEndColon(  $modString ) : void

Parameters
Name Type Description
$modString
Documentation was generated by DocBlox 0.18.1.