oxMediaUrl Class Reference

Inheritance diagram for oxMediaUrl:

Inheritance graph
[legend]
Collaboration diagram for oxMediaUrl:

Collaboration graph
[legend]

List of all members.


Detailed Description

Media URL handler

Definition at line 7 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 19 of file oxmediaurl.php.


Member Function Documentation

oxMediaUrl.getHtml (  ) 

Return HTML code depending on current URL

Returns:
string

Definition at line 30 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 49 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 67 of file oxmediaurl.php.

oxMediaUrl._getYoutubeHtml (  )  [protected]

Transforms the link to YouTube object, and returns it.

Returns:
string

Definition at line 83 of file oxmediaurl.php.


Member Data Documentation

oxMediaUrl.$_sClassName = 'oxmediaurls' [protected]

Reimplemented from oxI18n.

Definition at line 14 of file oxmediaurl.php.


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

Generated on Wed Apr 22 12:31:43 2009 for OXID eShop CE by  doxygen 1.5.5