PHP 클래스 Elcodi\Admin\LanguageBundle\Controller\LanguageController

상속: extends Elcodi\Admin\CoreBundle\Controller\Abstracts\AbstractAdminController
파일 보기 프로젝트 열기: elcodi/bamboo

공개 메소드들

메소드 설명
disableLanguageAction ( Elcodi\Component\Language\Entity\Interfaces\LanguageInterface $language ) : array Disable entity
enableLanguageAction ( Elcodi\Component\Language\Entity\Interfaces\LanguageInterface $language ) : array Enable entity
listAction ( ) : array List elements of certain entity type.
masterLanguageAction ( Elcodi\Component\Store\Entity\Interfaces\StoreInterface $store, Elcodi\Component\Language\Entity\Interfaces\LanguageInterface $language ) : array Set the master language.

메소드 상세

disableLanguageAction() 공개 메소드

Disable entity
public disableLanguageAction ( Elcodi\Component\Language\Entity\Interfaces\LanguageInterface $language ) : array
$language Elcodi\Component\Language\Entity\Interfaces\LanguageInterface The language to disable
리턴 array Result

enableLanguageAction() 공개 메소드

Enable entity
public enableLanguageAction ( Elcodi\Component\Language\Entity\Interfaces\LanguageInterface $language ) : array
$language Elcodi\Component\Language\Entity\Interfaces\LanguageInterface The language 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

masterLanguageAction() 공개 메소드

Set the master language.
public masterLanguageAction ( Elcodi\Component\Store\Entity\Interfaces\StoreInterface $store, Elcodi\Component\Language\Entity\Interfaces\LanguageInterface $language ) : array
$store Elcodi\Component\Store\Entity\Interfaces\StoreInterface
$language Elcodi\Component\Language\Entity\Interfaces\LanguageInterface
리턴 array