![]() |
- Developper API
2.0.5
|
A Range is an AbstractDataObject. It contains all information about a single range. Mostly made up of properties, it s also possible to get other AbstractDataObject (Wine, Winery, Owner) concerning the Range. More...
Public Member Functions | |
__construct ($id, $type, $xmlObject, $language) | |
Range constructor. | |
getWinery () | |
Return the ranges's winery as Winery or false if Winery cannot be instanciated. |
A Range is an AbstractDataObject. It contains all information about a single range. Mostly made up of properties, it s also possible to get other AbstractDataObject (Wine, Winery, Owner) concerning the Range.
__construct | ( | $ | id, |
$ | type, | ||
$ | xmlObject, | ||
$ | language | ||
) |
Range constructor.
String | id is what will be used to identify the object and query other objects. |
TYPE | type relates to the pseudo-enum TYPE from AbstractDataObject and refer to the object type. |
SimpleXMLElement | xmlObject represents the object on which queries will be done. |
String | language is the language in which the first query has been done. |
Reimplemented from Winery.
getWinery | ( | ) | [final] |