![]() |
- Developper API
2.0.5
|
The VintageProperty class is a data structure that contains Vintage information. Those objects are usually embedded inside Wine object. More...
Public Member Functions | |
__construct ($vincod, $vintageyear, $qrcode, $picture, $vinogusto) | |
VintageProperty constructor. | |
getVincod () | |
Returns the vintage property's vincod as String or false if empty. | |
getVintageYear () | |
Returns the vintage property's vintageyear as String or false if empty. | |
getQRCode () | |
Returns the vintage property's qrcode as String or false if empty. | |
getPicture () | |
Returns the vintage property's picture as String or false if empty. | |
getVinogusto () | |
Returns the vintage property's vinogusto as String or false if empty. | |
Static Public Member Functions | |
static | getVintagePropertyFromSXMLElement ($vincod, $node) |
Build a VintageProperty object from a SimpleXMLElement node. It may return false if the node doesn t contain a vintage property. | |
static | isSXMLNodeProperty ($node) |
Check whether a node is acceptable to get a VintageProperty from. |
The VintageProperty class is a data structure that contains Vintage information. Those objects are usually embedded inside Wine object.
__construct | ( | $ | vincod, |
$ | vintageyear, | ||
$ | qrcode, | ||
$ | picture, | ||
$ | vinogusto | ||
) |
VintageProperty constructor.
String | vincod |
String | vintageyear |
String | qrcode |
String | picture |
String | vinogusto |
Definition at line 35 of file VintageProperty.php.
getPicture | ( | ) | [final] |
Returns the vintage property's picture as String or false if empty.
Definition at line 75 of file VintageProperty.php.
getQRCode | ( | ) | [final] |
Returns the vintage property's qrcode as String or false if empty.
Definition at line 66 of file VintageProperty.php.
getVincod | ( | ) | [final] |
Returns the vintage property's vincod as String or false if empty.
Definition at line 48 of file VintageProperty.php.
getVinogusto | ( | ) | [final] |
Returns the vintage property's vinogusto as String or false if empty.
Definition at line 84 of file VintageProperty.php.
static getVintagePropertyFromSXMLElement | ( | $ | vincod, |
$ | node | ||
) | [static, final] |
Build a VintageProperty object from a SimpleXMLElement node. It may return false if the node doesn t contain a vintage property.
SimpleXmlElement | node |
Definition at line 94 of file VintageProperty.php.
getVintageYear | ( | ) | [final] |
Returns the vintage property's vintageyear as String or false if empty.
Definition at line 57 of file VintageProperty.php.
static isSXMLNodeProperty | ( | $ | node | ) | [static, final] |
Check whether a node is acceptable to get a VintageProperty from.
SimpleXmlElement | node |
Definition at line 135 of file VintageProperty.php.