Class Index | File Index

Classes


Class VENISON.UTILITIES

Namespace for utilities.
Defined in: venison_engine.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
VENISON.UTILITIES.gfnFindIndexOfElementWithCertainMemberValue(iArray, iMemberName, iMemberValue)
Recursive function used to find a certain value in an array of objects.
<static>  
VENISON.UTILITIES.gfnGetChildElements(iElement)
Get all the child elements of iElement, stored in an Array.
<static>  
VENISON.UTILITIES.gfnGetCookie(iName)
Get the cookie with name iName.
<static>  
VENISON.UTILITIES.gfnGetDOMFromXMLString(iXMLString)
Parse a String representation of an XML document and return the resulting DOM XML Object.
<static>  
VENISON.UTILITIES.gfnGetXMLStringFromDOM(iDOM)
Create an String representation of an XML document from a DOM XML Object.
<static>  
VENISON.UTILITIES.gfnSetCookie(iName, iValue, iExDays)
Set a cookie.
Class Detail
VENISON.UTILITIES()
Method Detail
<static> {Number} VENISON.UTILITIES.gfnFindIndexOfElementWithCertainMemberValue(iArray, iMemberName, iMemberValue)
Recursive function used to find a certain value in an array of objects.
Parameters:
{Array} iArray
An array of objects, sorted on their values of iMemberName.
{String} iMemberName
The attribute name of whose value the objects are sorted by.
{Number} iMemberValue
The value to find.
Returns:
{Number} The index of the element in the array such that element[iMemberName] === iMemberValue.

<static> {Array} VENISON.UTILITIES.gfnGetChildElements(iElement)
Get all the child elements of iElement, stored in an Array.
Parameters:
{Object} iElement
The element to extract child elements from.
Returns:
{Array} An Array containing all the child elements of iElement.

<static> {String} VENISON.UTILITIES.gfnGetCookie(iName)
Get the cookie with name iName.
Parameters:
{String} iName
The name of the cookie.
Returns:
{String} The value of the cookie if it exists, otherwise undefined.

<static> {Object} VENISON.UTILITIES.gfnGetDOMFromXMLString(iXMLString)
Parse a String representation of an XML document and return the resulting DOM XML Object.
Parameters:
{String} iXMLString
A String representation of an XML document.
Returns:
{Object} The resulting DOM XML Object.

<static> VENISON.UTILITIES.gfnGetXMLStringFromDOM(iDOM)
Create an String representation of an XML document from a DOM XML Object.
Parameters:
{Object} iDOM
The DOM XML Object to create an XML String from.
Returns:
A String representation of the DOM XML Object or null if the browser doesn't have support for this.

<static> VENISON.UTILITIES.gfnSetCookie(iName, iValue, iExDays)
Set a cookie.
Parameters:
{String} iName
The name of the cookie.
{String} iValue
The value of the cookie.
{Number} iExDays
The days the cookie should exist before it expires.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu May 05 2011 18:47:29 GMT+0200 (CEST)