Eccube\Controller\Admin\Content\BlockController::index PHP Метод

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

public index ( Application $app, Request $request )
$app Eccube\Application
$request Symfony\Component\HttpFoundation\Request
    public function index(Application $app, Request $request)
    {
        $DeviceType = $app['eccube.repository.master.device_type']->find(DeviceType::DEVICE_TYPE_PC);
        // 登録されているブロック一覧の取得
        $Blocks = $app['eccube.repository.block']->getList($DeviceType);
        $event = new EventArgs(array('DeviceType' => $DeviceType, 'Blocks' => $Blocks), $request);
        $app['eccube.event.dispatcher']->dispatch(EccubeEvents::ADMIN_CONTENT_BLOCK_INDEX_COMPLETE, $event);
        return $app->render('Content/block.twig', array('Blocks' => $Blocks));
    }
BlockController