Page 5 of 5
Template methods
These are the helper functions used by the object, and are optional. By default, the following methods are defined:- insertToolbar: inserts toolbar links
- insertHeader: inserts header elements
- insertContent: inserts the description
- setupToggleLink: creates the "Configure link" toggle link
- getConfig: renders the configuration DIV
- getLabel: returns a LABEL element
- getInput: returns an INPUT element
- clear: returns a DIV element
- dbList: shortcut for LinkrHelper.dbList (returns false or error message)
- dbObject: shortcut for LinkrHelper.dbObject (returns false or error message)
- isError: checks a database object for errors
- htmlAnchors: returns an array of HTML anchors
- First argument is the string to parse
- pageBreaks: returns an array of page breaks
- First argument is the string to parse
Override any of these methods to customize your object instance.



