oxMediaUrl Class Reference

Inheritance diagram for oxMediaUrl:
[legend]
Collaboration diagram for oxMediaUrl:
[legend]

List of all members.


Detailed Description

Media URL handler

Definition at line 8 of file oxmediaurl.php.


Public Member Functions

 __construct ()
 getHtml ()
 getHtmlLink ($blNewPage=false)
 delete ($sOXID=null)

Protected Member Functions

 _getYoutubeHtml ()

Protected Attributes

 $_sClassName = 'oxmediaurls'

Constructor & Destructor Documentation

oxMediaUrl.__construct (  ) 

Class constructor, initiates parent constructor (parent.oxI18n()).

Reimplemented from oxI18n.

Definition at line 20 of file oxmediaurl.php.


Member Function Documentation

oxMediaUrl.getHtml (  ) 

Return HTML code depending on current URL

Returns:
string

Definition at line 31 of file oxmediaurl.php.

oxMediaUrl.getHtmlLink ( blNewPage = false  ) 

Returns simple HTML link

Parameters:
bool $blNewPage Whether to open link in new window (adds target=_blank to link)
Returns:
string

Definition at line 50 of file oxmediaurl.php.

oxMediaUrl.delete ( sOXID = null  ) 

Deletes record and unlinks the file

Parameters:
string $sOXID Object ID(default null)
Returns:
bool

Reimplemented from oxBase.

Definition at line 68 of file oxmediaurl.php.

oxMediaUrl._getYoutubeHtml (  )  [protected]

Transforms the link to YouTube object, and returns it.

Returns:
string

Definition at line 84 of file oxmediaurl.php.


Member Data Documentation

oxMediaUrl.$_sClassName = 'oxmediaurls' [protected]

Reimplemented from oxI18n.

Definition at line 15 of file oxmediaurl.php.


The documentation for this class was generated from the following file:

Generated on Thu Dec 4 12:05:28 2008 for OXID eShop CE by  doxygen 1.5.5