◆ __construct()
OxidEsales\EshopCommunity\Application\Model\MediaUrl::__construct |
( |
| ) |
|
Class constructor, initiates parent constructor (parent::oxI18n()).
◆ _getYoutubeHtml()
OxidEsales\EshopCommunity\Application\Model\MediaUrl::_getYoutubeHtml |
( |
| ) |
|
|
protected |
Transforms the link to YouTube object, and returns it.
- Returns
- string
◆ delete()
OxidEsales\EshopCommunity\Application\Model\MediaUrl::delete |
( |
|
$sOXID = null | ) |
|
Deletes record and unlinks the file
- Parameters
-
string | $sOXID | Object ID(default null) |
- Returns
- bool
◆ getHtml()
OxidEsales\EshopCommunity\Application\Model\MediaUrl::getHtml |
( |
| ) |
|
Return HTML code depending on current URL
- Returns
- string
◆ getHtmlLink()
OxidEsales\EshopCommunity\Application\Model\MediaUrl::getHtmlLink |
( |
|
$blNewPage = true | ) |
|
Returns simple HTML link
- Parameters
-
bool | $blNewPage | Whether to open link in new window (adds target=_blank to link) |
- Returns
- string
◆ getLink()
OxidEsales\EshopCommunity\Application\Model\MediaUrl::getLink |
( |
| ) |
|
Returns link
- Returns
- string
◆ getObjectId()
OxidEsales\EshopCommunity\Application\Model\MediaUrl::getObjectId |
( |
| ) |
|
Returns object id
- Returns
- string
◆ $_sClassName
OxidEsales\EshopCommunity\Application\Model\MediaUrl::$_sClassName = 'oxmediaurls' |
|
protected |
The documentation for this class was generated from the following file: