SITEFORUM Script - script function by group



NameDescription
$code.cloneTemplatesClones templates from another application instance into the current one.
$code.copyCopies all source code from the given application instance into the current one.
$code.createTemplateCreates and adds a new template to the current applications source tree.
$code.existsTemplateReturns whether the template with the given name exists.
$code.existsTemplateGroupReturns whether the specified template group exists.
$code.existsUserFunctionReturns whether a user function (non standard SITEFORUM function) exists.
$code.exportTemplatesExports the templates listed in parameter 2 to the zip file given in parameter 1.
$code.formatReformats the templates source code (not implemented yet).
$code.getExecutionBaseReturns the template name the current code is executed from.
$code.getExportsReturns the list of instance IDs code of this instance is exported to.
$code.getFunctionNamesRetuns which functions are used by a template or a function.
$code.getFunctionSourceReturns on which template the named function was defined.
$code.getFunctionTextReturns text fragments used in an user function definition.
$code.getImportsReturns the list of instance IDs code is imported from.
$code.getTemplateDocuReturns the templates source code documentation.
$code.getTemplateGroupsReturns a list of logical template groups.
$code.getTemplateNamesReturns the list of templates within the given logical template group.
$code.getTemplateSourceReturns the source code of the template specified.
$code.getTemplateTextReturns text fragments used in a template.
$code.getTransactionModeReturns the transaction mode the template requests.
$code.getUserFunctionNamesReturns all user functions called on the given template.
$code.getUserFunctionTransactionModeReturns the transaction mode the given user defined function requires.
$code.getValidMetaValueReturns a valid value for the named meta value of the given template.
$code.importTemplatesImports the templates from the given archive.
$code.invokeUserFunctionCalls the named user defined function.
$code.removeTemplateRemove a template and its compilate from this application instance.
$code.setExportsSets the list of instance IDs code of this intance is exported to.
$code.setImportsSets the list of instance IDs code is imported from.
$code.setTemplateNameRename a template.
$code.setTemplateSourceCompiles and saves the source code under the given name.
$getBranchCategoryReturns the default category for the specified branch.
$getExceptionReturns the error exception.
$getException.dumpReturns a full dump of an exception.
$getException.dumpAll-
$getException.getClassReturns the class name of an exception.
$getException.getCount-
$getException.getDebugInfo-
$getException.getJavaStackTrace-
$getException.getMessageReturns the message an exception.
$getException.getStackTraceReturns the stacktrace an exception.
$hasBranchCategoryExamines if a category is set for the specified branch.
$setBranchCategorySets the branch category name of the specified branch.

This website uses cookies to improve functionality and performance. If you continue browsing the site, you are giving implied consent to the use of cookies on this website. Close