System

Version 2.1 by Pierre Dubois on 2011/10/17 15:26

A scripted entity

Functions

getUser()

getUserLogin()

parseDate(str)

formatDate(dt, style)

formatNumber(obj, pattern)

formatDateTime(dt, style)

AdjustTime(objDt, unit, value)

formatTime(dt, style)

parseDateTime(str, format)

getDayOfDate(obj)

getTimeOfDate(obj)

getUserGroup(name)

isMemberOfGroup(objusr, grpname)

formatPrefix(prefix)

formatName(name, fup, rmspace)

SearchNewFeatures()

InstallFeatures(p)

GetBuildInfo(p)

SearchFeaturesToUpdateFromSite(p)

AddDependentFeatures(p)

CheckDatabase()

StrTrim(str)

StrStartsWith(str, str2)

StrEndsWith(str, str2)

hasBundleAccess(bid)

getDefaultBundleSysId()

setDefaultBundleSysId(bsid)

getAuthorizedBundleList()

getBundleVersion(bid)

getContentType(data)

getContentName(data)

getContentLength(data)

setImageSize(objImage)

CreateHistoryApplication(strPrefix, strName)

EvalScript(jsScript, jsContext)

executeDDLCommand(strCommand)

executeSQL(strCommand)

InitLayout(objLayout)

Login(objUser)

Logout()

ExtractText(jsObj)

InvalidateOption(name)

Encrypt(cipher, value, type)

Decrypt(cipher, value, type)

SaveAsFile(jsObj, path)

ReadFile(path)

TimeDurationFormat(val)

Tags:
Created by Pierre Dubois on 2011/10/17 15:25
     
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 9.11.5 - Documentation