PHP Class kartik\social\Disqus

Usage: echo Disqus::widget([ 'settings' => ['shortname' => 'DISQUS_SHORTNAME'] ]);
Since: 1.0
Author: Kartik Visweswaran ([email protected])
Inheritance: extends Widget
Show file Open project: kartik-v/yii2-social Class Usage Examples

Public Properties

Property Type Description
$credits text for Disqus credits to be displayed at the end of the widget
$showCount whether to display the comment count summary instead of the detailed Disqus standard comments widget
$showCredits whether to display the credits text after the widget itself. Credits text will be used in {@link noscript} block regardless of this setting.

Public Methods

Method Description
init ( ) Initialize the widget

Method Details

init() public method

Initialize the widget
public init ( )

Property Details

$credits public property

text for Disqus credits to be displayed at the end of the widget
public $credits

$showCount public property

whether to display the comment count summary instead of the detailed Disqus standard comments widget
public $showCount

$showCredits public property

whether to display the credits text after the widget itself. Credits text will be used in {@link noscript} block regardless of this setting.
public $showCredits