PHP 클래스 Sulu\Bundle\AdminBundle\Controller\AdminController

파일 보기 프로젝트 열기: sulu/sulu

공개 메소드들

메소드 설명
__construct ( Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker, Symfony\Component\Routing\Generator\UrlGeneratorInterface $urlGenerator, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, AdminPool $adminPool, JsConfigPool $jsConfigPool, JMS\Serializer\SerializerInterface $serializer, Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $engine, Sulu\Component\Localization\Manager\LocalizationManagerInterface $localizationManager, $environment, $adminName, array $locales, $suluVersion, $translatedLocales, $translations, $fallbackLocale )
bundlesAction ( ) : Symfony\Component\HttpFoundation\JsonResponse Returns a array of all bundles.
configAction ( ) : Symfony\Component\HttpFoundation\JsonResponse Returns config for admin.
contextsAction ( Request $request ) : Symfony\Component\HttpFoundation\JsonResponse Returns contexts of admin.
indexAction ( ) : Response Renders admin ui.

비공개 메소드들

메소드 설명
addContext ( array &$mappedContexts, string $system, string $section, mixed $context, mixed $permissionTypes ) Will transform the different representations of permission types to the same representation and adds it to the passed array.

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker, Symfony\Component\Routing\Generator\UrlGeneratorInterface $urlGenerator, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, AdminPool $adminPool, JsConfigPool $jsConfigPool, JMS\Serializer\SerializerInterface $serializer, Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $engine, Sulu\Component\Localization\Manager\LocalizationManagerInterface $localizationManager, $environment, $adminName, array $locales, $suluVersion, $translatedLocales, $translations, $fallbackLocale )
$authorizationChecker Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface
$urlGenerator Symfony\Component\Routing\Generator\UrlGeneratorInterface
$tokenStorage Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface
$adminPool Sulu\Bundle\AdminBundle\Admin\AdminPool
$jsConfigPool Sulu\Bundle\AdminBundle\Admin\JsConfigPool
$serializer JMS\Serializer\SerializerInterface
$engine Symfony\Bundle\FrameworkBundle\Templating\EngineInterface
$localizationManager Sulu\Component\Localization\Manager\LocalizationManagerInterface
$locales array

bundlesAction() 공개 메소드

Returns a array of all bundles.
public bundlesAction ( ) : Symfony\Component\HttpFoundation\JsonResponse
리턴 Symfony\Component\HttpFoundation\JsonResponse

configAction() 공개 메소드

Returns config for admin.
public configAction ( ) : Symfony\Component\HttpFoundation\JsonResponse
리턴 Symfony\Component\HttpFoundation\JsonResponse

contextsAction() 공개 메소드

Returns contexts of admin.
public contextsAction ( Request $request ) : Symfony\Component\HttpFoundation\JsonResponse
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\JsonResponse

indexAction() 공개 메소드

Renders admin ui.
public indexAction ( ) : Response
리턴 Symfony\Component\HttpFoundation\Response