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

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.


Member Function Documentation

oxMediaUrl.getHtml (  ) 

Return HTML code depending on current URL

Returns:
string

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

oxMediaUrl.delete ( sOXID = null  ) 

Deletes record and unlinks the file

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

Reimplemented from oxBase.

oxMediaUrl._getYoutubeHtml (  )  [protected]

Transforms the link to YouTube object, and returns it.

Returns:
string


Member Data Documentation

oxMediaUrl.$_sClassName = 'oxmediaurls' [protected]

Reimplemented from oxI18n.


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

Generated on Wed Oct 29 23:44:46 2008 for OXID eShop CE by  doxygen 1.5.5