Свойство | Type | Description | |
---|---|---|---|
$content | the content to be embedded in between the plugin tag | ||
$dataApiPrefix | text to be prefixed for the data api | ||
$i18n | the the internalization configuration for this widget | ||
$language | the language used in displaying content. If not provided, defaults to en_US. | ||
$moduleName | the name of the module | ||
$noscript | text to be displayed if browser does not support javascript. If set to false will not displayed; | ||
$noscriptOptions | HTML attributes for the noscript message container | ||
$options | the HTML attributes for the plugin container. | ||
$settings | the social plugin settings | ||
$tag | the tag for enclosing the plugin. Defaults to 'div'. | ||
$type | the social plugin type |
Свойство | Type | Description | |
---|---|---|---|
$validPlugins | the valid plugins |
Méthode | Description | |
---|---|---|
getConfig ( string $widget ) : array | Gets configuration for a widget from the module | |
init ( ) | Initialize the widget | |
setConfig ( string $widget ) | Sets configuration for a widget based on the module level configuration |
Méthode | Description | |
---|---|---|
renderNoScript ( ) : string | Generates the noscript container | |
renderPlugin ( ) : string | Generates the plugin markup | |
setPluginOptions ( boolean $convertLowerCase = true ) | Sets the options for the plugin |
protected renderNoScript ( ) : string | ||
Résultat | string |
protected renderPlugin ( ) : string | ||
Résultat | string |
protected setPluginOptions ( boolean $convertLowerCase = true ) | ||
$convertLowerCase | boolean |
public $language |
public $noscript |
public $noscriptOptions |