Public Member Functions | Protected Member Functions | Protected Attributes

oxMediaUrl Class Reference

Inheritance diagram for oxMediaUrl:
Collaboration diagram for oxMediaUrl:

List of all members.

Public Member Functions

 __construct ()
 getHtml ()
 getHtmlLink ($blNewPage=true)
 getLink ()
 delete ($sOXID=null)

Protected Member Functions

 _getYoutubeHtml ()

Protected Attributes

 $_sClassName = 'oxmediaurls'

Detailed Description

Media URL handler

Definition at line 7 of file oxmediaurl.php.


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._getYoutubeHtml (  )  [protected]

Transforms the link to YouTube object, and returns it.

Returns:
string

Definition at line 102 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 oxI18n.

Definition at line 85 of file oxmediaurl.php.

oxMediaUrl.getHtml (  ) 

Return HTML code depending on current URL

Returns:
string

Definition at line 30 of file oxmediaurl.php.

oxMediaUrl.getHtmlLink ( blNewPage = true  ) 

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.getLink (  ) 

Returns link

Returns:
string

Definition at line 65 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: