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

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

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

Свойство Тип Описание
$carrierRepository Elcodi\Plugin\CustomShippingBundle\Repository\CarrierRepository A carrier repository
$plugin Elcodi\Component\Plugin\Entity\Plugin Plugin
$requestStack Symfony\Component\HttpFoundation\RequestStack A request stack
$store Elcodi\Component\Store\Entity\Interfaces\StoreInterface Store
$wizardRoutes Elcodi\Plugin\StoreSetupWizardBundle\Services\WizardRoutes The wizard routes service
$wizardStatus Elcodi\Plugin\StoreSetupWizardBundle\Services\WizardStatus A WizardStatus

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

Метод Описание
__construct ( WizardStatus $wizardStatus, Symfony\Component\HttpFoundation\RequestStack $requestStack, Elcodi\Component\Store\Entity\Interfaces\StoreInterface $store, WizardRoutes $wizardRoutes, Elcodi\Plugin\CustomShippingBundle\Repository\CarrierRepository $carrierRepository ) Builds a new class
renderDisableUnderConstructionMode ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event ) Render the disable under construction mode.
renderEnableStoreMessage ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event ) Render the message to enable store.
renderGoNextStepMessage ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event ) Render the next step message.
renderMiniWizard ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event ) Renders the mini wizard bar
setPlugin ( Elcodi\Component\Plugin\Entity\Plugin $plugin ) Set plugin

Защищенные методы

Метод Описание
isVisible ( ) : boolean Checks if the wizard is visible for this request.

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

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

Builds a new class
public __construct ( WizardStatus $wizardStatus, Symfony\Component\HttpFoundation\RequestStack $requestStack, Elcodi\Component\Store\Entity\Interfaces\StoreInterface $store, WizardRoutes $wizardRoutes, Elcodi\Plugin\CustomShippingBundle\Repository\CarrierRepository $carrierRepository )
$wizardStatus Elcodi\Plugin\StoreSetupWizardBundle\Services\WizardStatus The Wizard status
$requestStack Symfony\Component\HttpFoundation\RequestStack A request stack
$store Elcodi\Component\Store\Entity\Interfaces\StoreInterface Store
$wizardRoutes Elcodi\Plugin\StoreSetupWizardBundle\Services\WizardRoutes A wizard routes service
$carrierRepository Elcodi\Plugin\CustomShippingBundle\Repository\CarrierRepository A carrier repository

isVisible() защищенный Метод

Checks if the wizard is visible for this request.
protected isVisible ( ) : boolean
Результат boolean If visible

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

Render the disable under construction mode.
public renderDisableUnderConstructionMode ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event )
$event Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface The event

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

Render the message to enable store.
public renderEnableStoreMessage ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event )
$event Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface The event

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

Render the next step message.
public renderGoNextStepMessage ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event )
$event Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface The event

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

Renders the mini wizard bar
public renderMiniWizard ( 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

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

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

A carrier repository
protected CarrierRepository,Elcodi\Plugin\CustomShippingBundle\Repository $carrierRepository
Результат Elcodi\Plugin\CustomShippingBundle\Repository\CarrierRepository

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

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

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

A request stack
protected RequestStack,Symfony\Component\HttpFoundation $requestStack
Результат Symfony\Component\HttpFoundation\RequestStack

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

Store
protected StoreInterface,Elcodi\Component\Store\Entity\Interfaces $store
Результат Elcodi\Component\Store\Entity\Interfaces\StoreInterface

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

The wizard routes service
protected WizardRoutes,Elcodi\Plugin\StoreSetupWizardBundle\Services $wizardRoutes
Результат Elcodi\Plugin\StoreSetupWizardBundle\Services\WizardRoutes

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

A WizardStatus
protected WizardStatus,Elcodi\Plugin\StoreSetupWizardBundle\Services $wizardStatus
Результат Elcodi\Plugin\StoreSetupWizardBundle\Services\WizardStatus