Namespace salsa
Deprecated. Formerly the global object to which all methods were attached, this has been deprecated and should no longer be used.
Constructor Attributes | Constructor Name and Description |
---|---|
This partial documentation exists only for finding the
new location of methods and understanding prior code releases.
Deprecated: Formerly the global object to which all methods were attached,
this has been deprecated and should no longer be used. All of
this object's methods have been moved elsewhere
|
Method Attributes | Method Name and Description |
---|---|
<static> |
salsa.createDsaKeyPair(username)
Creates an OpenSSH-formated DSA public/private key pair, with no passphrase set on the private key.
|
<static> |
salsa.decodeURL(url)
Deprecated: Use String method instead
|
<static> |
salsa.deleteObject(objectName, objectName_KEY)
Deprecated: Moved to the DB object.
|
<static> |
salsa.encodeURL(url)
Deprecated: Use String#encodeURL instead.
|
<static> |
salsa.escapeXml(xml)
Deprecated: Use String#escapeXml instead
|
<static> |
salsa.exit()
Deprecated: Use global exit function instead
|
<static> |
salsa.getCount(object, conditions, countColumn)
Deprecated: Moved to the DB object.
|
<static> |
salsa.getCounts(object, groupBy, conditions, countColumn, orderBy, limit)
Deprecated: Moved to the DB object.
|
<static> |
salsa.getDateString()
Deprecated: Use DB object
|
<static> |
salsa.getLeftJoin(objects, conditions, orderBy, limit, includes)
Deprecated: Moved to the DB object.
|
<static> |
salsa.getObject(object, key)
Deprecated: Moved to the DB object.
|
<static> |
salsa.getObjects(object, conditions, orderBy, limit, includes)
Deprecated: Moved to the DB object.
|
<static> |
salsa.getParameter(name)
Retrieve value of the specified parameter from the URL.
|
<static> |
salsa.getSum(object, conditions, countColumn)
Deprecated: Moved to the DB object.
|
<static> |
salsa.getTaggedObjects()
Deprecated: Moved to the DB object.
|
<static> |
salsa.getTags()
Deprecated: Use DB.getTags instead.
|
<static> |
salsa.MD5(input)
Creates an MD5 hash of the input string and returns it as a hexadecimal number.
|
<static> |
salsa.parseNull(value)
Deprecated: Use global parseNull function instead
|
<static> |
salsa.printObject(salsaObject)
Converts a SalsaScript object to string.
Deprecated: Use Object#toJSON instead.
|
<static> |
salsa.renderDashboard(tabKey)
Deprecated: Render dashboard originally handled rendering of a standard Salsa HQ dashboard. It has been deprecated in favor of direct Ajax calls.
|
<static> |
salsa.renderFormElements(object, name)
Return a user-formatted string describing the passed table and column.
Deprecated: Use Render.inputs instead
|
<static> |
salsa.renderSupporter(includes, required)
Deprecated: Use Render.inputs instead
|
<static> |
salsa.saveObject()
Deprecated: Moved to the DB object.
|
<static> |
salsa.stripTags(text, allowedTags)
Deprecated: Use String#stripTags instead.
|
<static> |
salsa.trim(val, chars)
Deprecated: Use String.trim instead.
|
<static> |
salsa.varDump(obj)
Deprecated: Returns a salsa.toJSON() call within a
<pre> tag
Deprecated in favor of Object.toJSON
|
Namespace Detail
salsa
This partial documentation exists only for finding the
new location of methods and understanding prior code releases.
- Deprecated:
- Formerly the global object to which all methods were attached, this has been deprecated and should no longer be used. All of this object's methods have been moved elsewhere
Method Detail
<static>
salsa.createDsaKeyPair(username)
Creates an OpenSSH-formated DSA public/private key pair, with no passphrase set on the private key.
Returns an associative array with keys of "public" and "private", and the respective SSH keys as values.
- Parameters:
- {String} username
- the username to be appended to the public key for identification
<static>
salsa.decodeURL(url)
- Parameters:
- url
- Deprecated:
- Use String method instead
- See:
- String#decodeURL
<static>
salsa.deleteObject(objectName, objectName_KEY)
- Parameters:
- objectName
- objectName_KEY
- Deprecated:
- Moved to the DB object.
- See:
- DB.deleteObject
<static>
salsa.encodeURL(url)
- Parameters:
- url
- Deprecated:
- Use String#encodeURL instead.
- See:
- String#encodeURL
<static>
salsa.escapeXml(xml)
- Parameters:
- xml
- Deprecated:
- Use String#escapeXml instead
- See:
- String#escapeXml
<static>
salsa.exit()
- Deprecated:
- Use global exit function instead
- See:
- _global_.exit
<static>
salsa.getCount(object, conditions, countColumn)
- Parameters:
- object
- conditions
- countColumn
- Deprecated:
- Moved to the DB object.
- See:
- DB.getCount
<static>
salsa.getCounts(object, groupBy, conditions, countColumn, orderBy, limit)
- Parameters:
- object
- groupBy
- conditions
- countColumn
- orderBy
- limit
- Deprecated:
- Moved to the DB object.
- See:
- DB.getCounts
<static>
salsa.getDateString()
- Deprecated:
- Use DB object
- See:
- DB.getDateString
<static>
salsa.getLeftJoin(objects, conditions, orderBy, limit, includes)
- Parameters:
- objects
- conditions
- orderBy
- limit
- includes
- Deprecated:
- Moved to the DB object.
- See:
- DB.getLeftJoin
<static>
salsa.getObject(object, key)
- Parameters:
- object
- key
- Deprecated:
- Moved to the DB object.
- See:
- DB.getObject
<static>
salsa.getObjects(object, conditions, orderBy, limit, includes)
- Parameters:
- object
- conditions
- orderBy
- limit
- includes
- Deprecated:
- Moved to the DB object.
- See:
- DB.getObjects
<static>
{String or Object}
salsa.getParameter(name)
Retrieve value of the specified parameter from the URL.
<? var param = salsa.getParameter('foo'); if (param.length > 0) { print(param); else { print('could not find parameter foo'); } ?>
- Parameters:
- {String} name
- Returns:
- If the parameter exists, a
String
containing the specified parameter's value, otherwise an emptyBoolean
object with alength
of 0. Note this behavior is deprecated in Request.getParameter.
- See:
- Request.getParameter
<static>
salsa.getSum(object, conditions, countColumn)
- Parameters:
- object
- conditions
- countColumn
- Deprecated:
- Moved to the DB object.
- See:
- DB.getSum
<static>
salsa.getTaggedObjects()
- Deprecated:
- Moved to the DB object.
- See:
- DB.getTaggedObjects
<static>
salsa.getTags()
- Deprecated:
- Use DB.getTags instead.
- See:
- DB.getTags
<static>
salsa.MD5(input)
Creates an MD5 hash of the input string and returns it as a hexadecimal number.
- Parameters:
- {String} input
- The string to be hashed.
<static>
salsa.parseNull(value)
- Parameters:
- value
- Deprecated:
- Use global parseNull function instead
- See:
- _global_.parseNull
<static>
{String}
salsa.printObject(salsaObject)
Converts a SalsaScript object to string.
<?= salsa.printObject(supporter) ?>
- Parameters:
- {Object} salsaObject
- a SalsaScript object
- Deprecated:
- Use Object#toJSON instead.
- Returns:
- the object's contents
- See:
- Object#toJSON
<static>
salsa.renderDashboard(tabKey)
- Parameters:
- tabKey
- Deprecated:
- Render dashboard originally handled rendering of a standard Salsa HQ dashboard. It has been deprecated in favor of direct Ajax calls.
<static>
salsa.renderFormElements(object, name)
Return a user-formatted string describing the passed table and column.
- Parameters:
- {String} object
- The name of the table containing the column.
- {String} name
- The name of the column to be described.
- Deprecated:
- Use Render.inputs instead
- See:
- Render.inputs
<static>
salsa.renderSupporter(includes, required)
- Parameters:
- includes
- required
- Deprecated:
- Use Render.inputs instead
- See:
- Render.inputs
<static>
salsa.saveObject()
- Deprecated:
- Moved to the DB object.
- See:
- DB.saveObject
<static>
salsa.stripTags(text, allowedTags)
- Parameters:
- text
- allowedTags
- Deprecated:
- Use String#stripTags instead.
- See:
- String#stripTags
<static>
salsa.trim(val, chars)
- Parameters:
- val
- chars
- Deprecated:
- Use String.trim instead.
- See:
- String.stripChars
<static>
salsa.varDump(obj)
- Parameters:
- {Object} obj
- Deprecated:
-
Returns a salsa.toJSON() call within a
<pre>
tag Deprecated in favor of Object.toJSON
- See:
- Object#toJSON