UNA
Loading...
Searching...
No Matches
BxBaseEmbedOembed Class Reference
Inheritance diagram for BxBaseEmbedOembed:
BxDolEmbed BxDolFactoryObject BxDolFactory iBxDolFactoryObject BxTemplEmbedOembed

Public Member Functions

 __construct ($aObject, $oTemplate)
 
 getLinkHTML ($sLink, $sTitle='', $sMaxWidth='')
 
 addProcessLinkMethod ()
 
 addJsCss ()
 
 parseLinks (&$aLinks)
 
 parseLinkHtml ($sLink)
 
 getUrlData ($sLink)
 
- Public Member Functions inherited from BxDolEmbed
 getData ($sUrl, $sTheme)
 
 getDataFromApi ($sUrl, $sTheme)
 
- Public Member Functions inherited from BxDolFactoryObject
 getObjectName ()
 

Public Attributes

 $_iCacheTTL = 3600
 

Protected Member Functions

 getEmberaInstance ($aOptions=[])
 
- Protected Member Functions inherited from BxDolFactoryObject
 __construct ($aObject, $oTemplate=null, $sDbClassName='')
 

Additional Inherited Members

- Static Public Member Functions inherited from BxDolEmbed
static getObjectInstance ($sObject=false, $oTemplate=false)
 
- Static Public Member Functions inherited from BxDolFactoryObject
static getObjectInstanceByClassNames ($sObject, $oTemplate, $sClassName, $sDbClassName)
 
- Static Public Member Functions inherited from iBxDolFactoryObject
static getObjectInstance ($sObject)
 
- Protected Attributes inherited from BxDolEmbed
 $_bCssJsAdded = false
 
 $_sTableName = ''
 
- Protected Attributes inherited from BxDolFactoryObject
 $_oDb
 
 $_oTemplate
 
 $_sObject
 
 $_aObject
 

Detailed Description

Oembed integration.

See also
BxDolEmbed

Member Function Documentation

◆ addJsCss()

BxBaseEmbedOembed::addJsCss ( )

Add css/js files which are needed for embed display and functionality.

Reimplemented from BxDolEmbed.

◆ addProcessLinkMethod()

BxBaseEmbedOembed::addProcessLinkMethod ( )

Execute an initialization JS code

Reimplemented from BxDolEmbed.

◆ getLinkHTML()

BxBaseEmbedOembed::getLinkHTML ( $sLink,
$sTitle = '',
$sMaxWidth = '' )

Print HTML which will be automatically converted into embed upon page load

Parameters
$sLink- link
$sTitle- title or use link for the title if omitted
$sMaxWidth- try to restrict max width of embed (works in supported embed providers only)

Reimplemented from BxDolEmbed.


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