- Developper API  2.0.5
Range Class Reference

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...

Inheritance diagram for Range:
Winery AbstractDataObject

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.

Detailed Description

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.

Author:
Thomas
Version:
1.0
Date:
08/12/2011

Constructor & Destructor Documentation

__construct ( id,
type,
xmlObject,
language 
)

Range constructor.

Parameters:
Stringid is what will be used to identify the object and query other objects.
TYPEtype relates to the pseudo-enum TYPE from AbstractDataObject and refer to the object type.
SimpleXMLElementxmlObject represents the object on which queries will be done.
Stringlanguage is the language in which the first query has been done.
Returns:
Range

Reimplemented from Winery.

Definition at line 24 of file Range.php.


Member Function Documentation

getWinery ( ) [final]

Return the ranges's winery as Winery or false if Winery cannot be instanciated.

Returns:
Winery / false

Definition at line 33 of file Range.php.


The documentation for this class was generated from the following file: