Class Index | File Index

Classes


Function Namespace kocujILV12aCBackendSettingsFormTabs

kocujILV12aCBackendSettingsFormTabs
Defined in: tabs.js.

Function Namespace Summary
Constructor Attributes Constructor Name and Description
 
Tabs prototype constructor
Field Summary
Field Attributes Field Name and Description
<private>  
Object kocujILV12aHelper
<private>  
Projects list
<private>  
Current script filename
<private>  
Script settings - prefix
<private>  
Script settings - throw errors (true) or not (false)
Method Summary
Method Attributes Method Name and Description
<private>  
_checkAddProject(projectId, projectName)
Check arguments for adding project
<private>  
_eventTabClick(projectId, formId, tabId, tabsCount)
Event for clicking on tab
<private>  
_getHTMLNameTab(projectId, formId, tabId)
Get HTML tab name
<private>  
_getHTMLNameTabDiv(projectId, formId, tabId)
Get HTML tab div name
<private>  
_getHTMLPrefix(projectId)
Get HTML prefix
<private>  
_parseProjectId(projectId)
Parse project identifier
<private>  
_throwError(codeString, param)
Throw an error if debugging is enabled
 
addProject(projectId, projectName)
Add project
 
addProjectIfNotExists(projectId, projectName)
Add project if not exists
 
getHTMLSelectorTab(projectId, tabId, formId)
Get HTML selector for tab
 
getHTMLSelectorTabDiv(projectId, formId, tabId)
Get HTML selector for tab div
 
process(projectId, formId, tabsCount)
Process form tabs
Function Namespace Detail
kocujILV12aCBackendSettingsFormTabs()
Tabs prototype constructor
Returns:
{void}
Field Detail
<private> _objHelper
Object kocujILV12aHelper

<private> _prj
Projects list

<private> _thisFilename
Current script filename

<private> _valsPrefix
Script settings - prefix

<private> _valsThrowErrors
Script settings - throw errors (true) or not (false)
Method Detail
<private> {Object} _checkAddProject(projectId, projectName)
Check arguments for adding project
Parameters:
{string} projectId
Project identifier
{string} projectName Optional
Project name
Throws:
{kocujILV12aCException}
kocujILV12aExceptionCode.EMPTY_PROJECT_ID if project identifier entered in projectId is empty
Returns:
{Object} Parsed arguments for adding project

<private> {void} _eventTabClick(projectId, formId, tabId, tabsCount)
Event for clicking on tab
Parameters:
{string} projectId
Project identifier
{string} formId
Form identifier
{number} tabId
Tab identifier
{number} tabsCount
Tabs count
Returns:
{void}

<private> {string} _getHTMLNameTab(projectId, formId, tabId)
Get HTML tab name
Parameters:
{string} projectId
Project identifier
{string} formId
Form identifier
{number} tabId
Tab identifier
Returns:
{string} HTML tab name

<private> {string} _getHTMLNameTabDiv(projectId, formId, tabId)
Get HTML tab div name
Parameters:
{string} projectId
Project identifier
{string} formId
Form identifier
{number} tabId
Tab identifier
Returns:
{string} HTML tab div name

<private> {string} _getHTMLPrefix(projectId)
Get HTML prefix
Parameters:
{string} projectId
Project identifier
Returns:
{string} HTML prefix

<private> {string} _parseProjectId(projectId)
Parse project identifier
Parameters:
{string} projectId
Project identifier
Throws:
{kocujILV12aCException}
kocujILV12aExceptionCode.EMPTY_PROJECT_ID if project identifier entered in projectId is empty
{kocujILV12aCException}
kocujILV12aExceptionCode.PROJECT_DOES_NOT_EXIST if project identifier entered in projectId does not exist
Returns:
{string} Parsed project identifier

<private> {void} _throwError(codeString, param)
Throw an error if debugging is enabled
Parameters:
{string} codeString
Error code in string format
{string} param Optional
Parameter for error information
Returns:
{void}

{void} addProject(projectId, projectName)
Add project
Parameters:
{string} projectId
Project identifier
{string} projectName Optional
Project name
Throws:
{kocujILV12aCException}
kocujILV12aExceptionCode.PROJECT_ALREADY_EXISTS if project identifier entered in projectId already exists
Returns:
{void}

{void} addProjectIfNotExists(projectId, projectName)
Add project if not exists
Parameters:
{string} projectId
Project identifier
{string} projectName Optional
Project name
Returns:
{void}

{string} getHTMLSelectorTab(projectId, tabId, formId)
Get HTML selector for tab
Parameters:
{string} projectId
Project identifier
{number} tabId
Tab identifier
{string} formId
Form identifier
Returns:
{string} HTML selector for tab

{string} getHTMLSelectorTabDiv(projectId, formId, tabId)
Get HTML selector for tab div
Parameters:
{string} projectId
Project identifier
{string} formId
Form identifier
{number} tabId
Tab identifier
Returns:
{string} HTML selector for tab div

{void} process(projectId, formId, tabsCount)
Process form tabs
Parameters:
{string} projectId
Project identifier
{string} formId
Form identifier
{number} tabsCount
Tabs count
Returns:
{void}

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Mar 08 2018 21:48:57 GMT+0100 (CET)