![]() |
- Developper API
2.0.5
|
Data structure that contains a name, a type and a url. Those objects are usually embedded inside Wine object. More...
Public Member Functions | |
getName () | |
Returns the name as a String or false if empty. | |
getType () | |
Returns the type as a String or false if empty. | |
getURL () | |
Returns the url as a String or false if empty. | |
getPreview () | |
Returns the preview as a String or false if empty. | |
Protected Member Functions | |
__construct ($name, $type, $url, $zone, $preview) | |
Can and must only be call from subclass. |
Data structure that contains a name, a type and a url. Those objects are usually embedded inside Wine object.
__construct | ( | $ | name, |
$ | type, | ||
$ | url, | ||
$ | zone, | ||
$ | preview | ||
) | [protected] |
Can and must only be call from subclass.
String | name |
String | type |
String | url |
Reimplemented in Media.
Definition at line 26 of file DataStructure.php.
getName | ( | ) | [final] |
Returns the name as a String or false if empty.
Definition at line 39 of file DataStructure.php.
getPreview | ( | ) | [final] |
Returns the preview as a String or false if empty.
Definition at line 66 of file DataStructure.php.
getType | ( | ) | [final] |
Returns the type as a String or false if empty.
Definition at line 48 of file DataStructure.php.
getURL | ( | ) | [final] |
Returns the url as a String or false if empty.
Definition at line 57 of file DataStructure.php.