定制 lolautruche/ez-core-extra-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lolautruche/ez-core-extra-bundle

最新稳定版本:v5.0.0

Composer 安装命令:

composer require lolautruche/ez-core-extra-bundle

包简介

Extra sugar for building Ibexa websites

README 文档

README

Adds extra features to Ibexa Platform.

Compatibility

  • master branch is only compatible with Ibexa Platform v4
  • v3.x branch is only compatible with eZ Platform v3
  • v2.x is only compatible with eZ Platform v1 and v2
  • 1.0 branch is compatible with both eZ Platform and eZ Publish 5.4/2014.11.

Features

  • Configurable template variable injection

    Lets you configure variables to inject within your view template configuration. This avoids you to create custom controllers when you need to add a few simple variables to your view.

    ibexa:
        system:
            my_siteaccess:
                location_view:
                    full:
                        article_test:
                            template: "AcmeTestBundle:full:article_test.html.twig"
                            params:
                                # Following keys will be injected as variables into configured template
                                osTypes: [osx, linux, losedows]
                                secret: %secret%
                                # Using a parameter provider, for more complex usecases.
                                my_provider: {"provider": "my_param_provider"}
    
                            match:
                                Id\Location: 144
  • Context aware Twig global variables

    Lets you define Twig global variables that will be available only in the current SiteAccess.

    ez_core_extra:
        system:
            my_siteaccess:
                twig_globals:
                    my_variable: foo
                    another_variable: 123
                    something_else: [bar, true, false]
  • Simplified authorization checks

    Simplifies calls to $this->isGranted() from inside controllers and is_granted() from within templates when checking against Ibexa inner permission system (module/function/valueObject).

    
    

Requirements

EzCoreExtraBundle currently works eZ Platform v1, v2 and v3 (kernel v6, v7 and v8), and Ibexa Platform v4.

If you're using eZ publish 5.4/2014.11 or Netgen variant, look at 1.1 branch and/or v1.x releases.

If you're using eZ Platform v1 or v2, look at 2.x branch and/or v2.x releases.

If you're using eZ Platform v3, look at 3.x branch and/or v3.x releases.

Installation

This bundle is available on Packagist. You can install it using Composer.

composer require lolautruche/ez-core-extra-bundle

Then add it to your application:

EzCoreExtraBundle MUST be instanciated AFTER Ibexa bundles.

Documentation

See Resources/doc/

统计信息

  • 总下载量: 410.64k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 27
  • 点击次数: 1
  • 依赖项目数: 5
  • 推荐数: 0

GitHub 信息

  • Stars: 27
  • Watchers: 6
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-05-02