imports/vx/client/code/vxapp.js
/**
     * Make an array of functions for a drop-down list.  The code is the function ID
     * and the localization is the "friendly" function description.
     *
     * @param {string} functionType True to limit the list to a particular function type.
     * @return {array} Array of functions (code and localized).
     */
Make an array of functions for a drop-down list.  The code is the function ID
and the localization is the "friendly" function description.

@param {string} functionType True to limit the list to a particular function type.
@return {array} Array of functions (code and localized).
Make an array of functions for a drop - down list . The code is the function ID and the localization is the " friendly " function description . @param { string } functionType True to limit the list to a particular function type . @return { array } Array of functions ( code and localized ) .
makeFunctionArray(functionType) {
        const functions = VXApp.findFunctionList()
        const codeArray = _.filter(functions, funktion => funktion.functionType === functionType).map(funktion => {
            return { code: funktion._id, localized: funktion.description || "" }
        })
        codeArray.sort((recordA, recordB) => {
            return Util.safeCompare(recordA.localized, recordB.localized)
        })
        return codeArray
    }
makeFunctionArray ( functionType ) { const functions = VXApp . findFunctionList ( ) const codeArray = _ . filter ( functions , funktion => funktion . functionType === functionType ) . map ( funktion => { return { code : funktion . _id , localized : funktion . description || "" } } ) codeArray . sort ( ( recordA , recordB ) => { return Util . safeCompare ( recordA . localized , recordB . localized ) } ) return codeArray }
Make an array of functions for a drop-down list.
Make an array of functions for a drop - down list .