Class pvr.controller.utils.BindingUtil
Provides methods for creating and parsing controller binding strings.
Defined in: <pvr\controller\utils\BindingUtil.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Method Summary
Method Attributes | Method Name and Description |
---|---|
createBinding(collectionId, propertyId)
Creates a binding string from the specified collection and property identifiers.
|
|
getCollectionId(binding)
Gets the collection identifier from the specified binding string.
|
|
getIds(binding)
Gets the collection and property identifiers from the specified
binding string.
|
|
getPropertyId(binding)
Gets the property identifier from the specified binding string.
|
|
isValid(binding)
Indicates whether the specified binding string contains both
a collection identifier and a property identifier.
|
Method Detail
createBinding(collectionId, propertyId)
Creates a binding string from the specified collection and property identifiers.
- Parameters:
- collectionId
- The collection identifier.
- propertyId
- The property identifier.
- Returns:
- The binding string.
getCollectionId(binding)
Gets the collection identifier from the specified binding string.
- Parameters:
- binding
- The binding string.
- Returns:
- The collection identifier.
getIds(binding)
Gets the collection and property identifiers from the specified
binding string.
- Parameters:
- binding
- The binding string.
- Returns:
- An object containing the collection and property identifiers.
getPropertyId(binding)
Gets the property identifier from the specified binding string.
- Parameters:
- binding
- The binding string.
- Returns:
- The property identifier.
isValid(binding)
Indicates whether the specified binding string contains both
a collection identifier and a property identifier.
- Parameters:
- binding