The Shop class is a kind of DataStructure with a description. A shop always has the type equals to shop. Those objects are usually embedded inside Wine object.
More...
Public Member Functions |
| __construct ($name, $description, $url) |
| Shop constructor.
|
| getDescription () |
| Returns the shop's description as String or false if empty.
|
Static Public Member Functions |
static | getShopFromSXMLElement ($node) |
| Build a Shop object from a SimpleXMLElement node. It may return false if the node doesn t contain a shop.
|
static | isSXMLNodeProperty ($node) |
| Check whether a node is acceptable to get a Shop from.
|
Detailed Description
The Shop class is a kind of DataStructure with a description. A shop always has the type equals to shop. Those objects are usually embedded inside Wine object.
- Author:
- Thomas
- Version:
- 1.0
- Date:
- 08/12/2011
Constructor & Destructor Documentation
__construct |
( |
$ |
name, |
|
|
$ |
description, |
|
|
$ |
url |
|
) |
| |
Shop constructor.
- Parameters:
-
String | name |
String | description |
String | url |
- Returns:
- Shop
Definition at line 30 of file Shop.php.
Member Function Documentation
getDescription |
( |
| ) |
[final] |
Returns the shop's description as String or false if empty.
- Returns:
- String / false
Definition at line 40 of file Shop.php.
static getShopFromSXMLElement |
( |
$ |
node | ) |
[static, final] |
Build a Shop object from a SimpleXMLElement node. It may return false if the node doesn t contain a shop.
- Parameters:
-
- Returns:
- Shop / false
Definition at line 50 of file Shop.php.
static isSXMLNodeProperty |
( |
$ |
node | ) |
[static, final] |
Check whether a node is acceptable to get a Shop from.
- Parameters:
-
- Returns:
- Boolean
Definition at line 86 of file Shop.php.
The documentation for this class was generated from the following file: