PHP Класс kartik\social\Disqus

Usage: echo Disqus::widget([ 'settings' => ['shortname' => 'DISQUS_SHORTNAME'] ]);
С версии: 1.0
Автор: Kartik Visweswaran ([email protected])
Наследование: extends Widget
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
init ( ) Initialize the widget

Описание методов

init() публичный Метод

Initialize the widget
public init ( )

Описание свойств

$credits публичное свойство

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

$showCount публичное свойство

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

$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 $showCredits