An Owner is an AbstractDataObject. It contains all information about a single owner. Mostly made up of properties, it s also possible to get other AbstractDataObject (Wine, Winery, Range) concerning the Owner.
More...
Detailed Description
An Owner is an AbstractDataObject. It contains all information about a single owner. Mostly made up of properties, it s also possible to get other AbstractDataObject (Wine, Winery, Range) concerning the Owner.
- Author:
- Thomas
- Version:
- 1.0
- Date:
- 08/12/2011
Constructor & Destructor Documentation
__construct |
( |
$ |
id, |
|
|
$ |
type, |
|
|
$ |
xmlObject, |
|
|
$ |
language |
|
) |
| |
Owner constructor.
- Parameters:
-
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. |
- Returns:
- Owner
Reimplemented from AbstractDataObject.
Definition at line 43 of file Owner.php.
Member Function Documentation
getPresentation |
( |
| ) |
[final] |
Return the owner's ranges as Range array or false if Range [] cannot be instanciated.
- Returns:
- Range[]
Definition at line 148 of file Owner.php.
Return the owner's wines as Wine array or false if Wine [] cannot be instanciated.
- Returns:
- Wine[]
Definition at line 174 of file Owner.php.
isCustomProperties |
( |
$ |
label | ) |
[protected] |
Must be implemented in subclasses and is used to know whether a property is custom or defined.
- Returns:
- Boolean
Reimplemented from AbstractDataObject.
Definition at line 49 of file Owner.php.
The documentation for this class was generated from the following file: