Class orion.form
Utilities for handling encoding.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.core/web/orion/form.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<static> |
orion.form.encodeFormData(data)
Encodes an object of form fields and values into an
application/x-www-form-urlencoded string. |
<static> |
orion.form.encodeSlug(s)
Encodes a string into an RFC 5023-compliant
Slug header.
|
Method Detail
<static>
{String}
orion.form.encodeFormData(data)
Encodes an object of form fields and values into an
application/x-www-form-urlencoded
string.
- Parameters:
- {Object} data
- The form data to encode.
- Returns:
- {String} The
x-www-form-urlencoded
string.
<static>
{String}
orion.form.encodeSlug(s)
Encodes a string into an RFC 5023-compliant
Slug header.
- Parameters:
- {String} s
- The string to encode.
- Returns:
- {String} The encoded Slug.