Class CardDataModel
Class providing for a reference model containing static card data
Defined in: datamodel.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Create data model object
|
Method Attributes | Method Name and Description |
---|---|
dump()
Dump the complete model
|
|
getNode(path)
Return the node at the given path
|
|
<static> |
CardDataModel.populateFromProfile(node, profile)
Populate a node from an XML profile
|
Method Detail
dump()
Dump the complete model
{Object}
getNode(path)
Return the node at the given path
- Parameters:
- {String} path
- the path to the node
- Returns:
- the node
<static>
CardDataModel.populateFromProfile(node, profile)
Populate a node from an XML profile
- Parameters:
- {Object} node
- the node where the data from the profile is inserted
- {String} profile
- the XML application profile