|
UNA
|
Public Member Functions | |
| getLinkHTML ($sLink, $sTitle='', $sMaxWidth='') | |
| addProcessLinkMethod () | |
| addJsCss () | |
| getData ($sUrl, $sTheme) | |
| getDataFromApi ($sUrl, $sTheme) | |
| cleanYoutubeUrl ($url) | |
| Public Member Functions inherited from BxDolFactoryObject | |
| getObjectName () | |
Static Public Member Functions | |
| 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 | |
| $_bCssJsAdded = false | |
| $_sTableName = '' | |
| Protected Attributes inherited from BxDolFactoryObject | |
| $_oDb | |
| $_oTemplate | |
| $_sObject | |
| $_aObject | |
Additional Inherited Members | |
| Protected Member Functions inherited from BxDolFactoryObject | |
| __construct ($aObject, $oTemplate=null, $sDbClassName='') | |
Embed provider.
Create an embed from a link.
Add record to 'sys_objects_embeds' table:
Generate HTML for a link which will be converted to an embed later:
| BxDolEmbed::addJsCss | ( | ) |
Add css/js files which are needed for embed display and functionality.
Reimplemented in BxBaseEmbedEmbedly, BxBaseEmbedIframely, and BxBaseEmbedOembed.
| BxDolEmbed::addProcessLinkMethod | ( | ) |
Execute an initialization JS code
Reimplemented in BxBaseEmbedEmbedly, BxBaseEmbedIframely, and BxBaseEmbedOembed.
| BxDolEmbed::getLinkHTML | ( | $sLink, | |
| $sTitle = '', | |||
| $sMaxWidth = '' ) |
Print HTML which will be automatically converted into embed upon page load
| $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 in BxBaseEmbedIframely, BxBaseEmbedOembed, and BxBaseEmbedSystem.
|
static |
Get embed provider object instance by object name
| $sObject | object name |