PHP Класс Elcodi\Admin\CurrencyBundle\Controller\CurrencyController

Наследование: extends Elcodi\Admin\CoreBundle\Controller\Abstracts\AbstractAdminController
Показать файл Открыть проект

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

Метод Описание
disableCurrencyAction ( Elcodi\Component\Currency\Entity\Interfaces\CurrencyInterface $currency ) : array Disable entity
enableCurrencyAction ( Elcodi\Component\Currency\Entity\Interfaces\CurrencyInterface $currency ) : array Enable entity
listAction ( ) : array List elements of certain entity type.
masterCurrencyAction ( Elcodi\Component\Store\Entity\Interfaces\StoreInterface $store, Elcodi\Component\Currency\Entity\Interfaces\CurrencyInterface $currency ) : array Set the master currency.
navAction ( ) : array Nav for currency group

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

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

Disable entity
public disableCurrencyAction ( Elcodi\Component\Currency\Entity\Interfaces\CurrencyInterface $currency ) : array
$currency Elcodi\Component\Currency\Entity\Interfaces\CurrencyInterface The currency to disable
Результат array Result

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

Enable entity
public enableCurrencyAction ( Elcodi\Component\Currency\Entity\Interfaces\CurrencyInterface $currency ) : array
$currency Elcodi\Component\Currency\Entity\Interfaces\CurrencyInterface The currency to enable
Результат array Result

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

This action is just a wrapper, so should never get any data, as this is component responsibility
public listAction ( ) : array
Результат array Result

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

Set the master currency.
public masterCurrencyAction ( Elcodi\Component\Store\Entity\Interfaces\StoreInterface $store, Elcodi\Component\Currency\Entity\Interfaces\CurrencyInterface $currency ) : array
$store Elcodi\Component\Store\Entity\Interfaces\StoreInterface
$currency Elcodi\Component\Currency\Entity\Interfaces\CurrencyInterface
Результат array

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

Nav for currency group
public navAction ( ) : array
Результат array Result