PHP Класс Elcodi\Plugin\TwitterBundle\Templating\ShareTweetRenderer

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

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

Свойство Тип Описание
$plugin Elcodi\Component\Plugin\Entity\Plugin Plugin
$translator Symfony\Component\Translation\TranslatorInterface A translator
$urlGenerator Symfony\Component\Routing\Generator\UrlGeneratorInterface An url generator

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

Метод Описание
__construct ( Symfony\Component\Routing\Generator\UrlGeneratorInterface $urlGenerator, Symfony\Component\Translation\TranslatorInterface $translator ) Builds a new share tweet renderer class.
renderShareOrder ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event ) Renders the share product button.
renderShareProduct ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event ) Renders the share product button.
setPlugin ( Elcodi\Component\Plugin\Entity\Plugin $plugin ) Set plugin

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

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

Builds a new share tweet renderer class.
public __construct ( Symfony\Component\Routing\Generator\UrlGeneratorInterface $urlGenerator, Symfony\Component\Translation\TranslatorInterface $translator )
$urlGenerator Symfony\Component\Routing\Generator\UrlGeneratorInterface An url generator
$translator Symfony\Component\Translation\TranslatorInterface A translator

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

Renders the share product button.
public renderShareOrder ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event )
$event Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface The event

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

Renders the share product button.
public renderShareProduct ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event )
$event Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface The 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

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

A translator
protected TranslatorInterface,Symfony\Component\Translation $translator
Результат Symfony\Component\Translation\TranslatorInterface

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

An url generator
protected UrlGeneratorInterface,Symfony\Component\Routing\Generator $urlGenerator
Результат Symfony\Component\Routing\Generator\UrlGeneratorInterface