PHP Класс Elcodi\Plugin\DisqusBundle\Templating\TwigRenderer

Наследование: use trait Elcodi\Component\Plugin\Templating\Traits\TemplatingTrait
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$plugin Elcodi\Component\Plugin\Entity\Plugin Plugin

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

Метод Описание
renderDisqusBlogPostBlock ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event ) Renders disqus block on blog post
renderDisqusProductBlock ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event ) Renders disqus block on product page
renderJavascript ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event ) Renders disqus JS element
setPlugin ( Elcodi\Component\Plugin\Entity\Plugin $plugin ) Set plugin

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

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

Renders disqus block on blog post
public renderDisqusBlogPostBlock ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event )
$event Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface Event

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

Renders disqus block on product page
public renderDisqusProductBlock ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event )
$event Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface Event

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

Renders disqus JS element
public renderJavascript ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event )
$event Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface Event

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

Set plugin
public setPlugin ( Elcodi\Component\Plugin\Entity\Plugin $plugin )
$plugin Elcodi\Component\Plugin\Entity\Plugin Plugin

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

$plugin защищенное свойство

Plugin
protected Plugin,Elcodi\Component\Plugin\Entity $plugin
Результат Elcodi\Component\Plugin\Entity\Plugin