registerFrameworkFunction

[ Function ]

function registerFrameworkFunction(
    name: string,
    func: (args: any[]) => any,
    descriptionUrl: string = ''
): void;

Registers a function created within a function package in the framework.

registerFrameworkFunction 1:

Since version 1.12 this function is considered obsolete. The use of the function registerFunctionEx is recommended.

Parameters

Name

Type

Description

name

string

The name with which the function is registered in the framework.

func

(args: any[]) => any

A reference to the function to be registered.

descriptionUrl

string

 

Return value

Type

Description

void

No return value

registerFrameworkFunction 2:

Available from 1.8