The Media class is a kind of DataStructure. Those objects are usually embedded inside Wine object.
More...
Public Member Functions |
| __construct ($name, $type, $url, $zone, $preview) |
| Media constructor.
|
Static Public Member Functions |
static | getMediaFromSXMLElement ($node) |
| Build a Media object from a SimpleXMLElement node. It may return false if the node doesn t contain a media.
|
static | isSXMLNodeProperty ($node) |
| Check whether a node is acceptable to get a Media from.
|
Detailed Description
The Media class is a kind of DataStructure. Those objects are usually embedded inside Wine object.
- Author:
- Thomas
- Version:
- 1.0
- Date:
- 08/12/2011
Constructor & Destructor Documentation
__construct |
( |
$ |
name, |
|
|
$ |
type, |
|
|
$ |
url, |
|
|
$ |
zone, |
|
|
$ |
preview |
|
) |
| |
Media constructor.
- Parameters:
-
String | name |
String | type |
String | url |
String | zone |
String | preview |
- Returns:
- Media
Reimplemented from DataStructure.
Definition at line 33 of file Media.php.
Member Function Documentation
static getMediaFromSXMLElement |
( |
$ |
node | ) |
[static, final] |
Build a Media object from a SimpleXMLElement node. It may return false if the node doesn t contain a media.
- Parameters:
-
- Returns:
- Media / false
Definition at line 43 of file Media.php.
static isSXMLNodeProperty |
( |
$ |
node | ) |
[static, final] |
Check whether a node is acceptable to get a Media from.
- Parameters:
-
- Returns:
- Boolean
Definition at line 90 of file Media.php.
The documentation for this class was generated from the following file: