Download the PHP package pimcore/output-data-config-toolkit-bundle without Composer

On this page you can find all versions of the php package pimcore/output-data-config-toolkit-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package output-data-config-toolkit-bundle

OutputDataConfigToolkit

This toolkit provides an user interface to create output formats for data objects based on different output channels. So it is possible to define, which attributes of a data objects should be printed in a certain output channel. An output data configuration consists of

Table of Contents

Configuration

Channel Config

After installing the bundle, a config file is located at config/pimcore/outputdataconfig/config.php. In this config file available output channels can be configured as follows:

Functional Config

In config.yml:

Read more about the classification store display modes.

Defining output data configuration for different output channels

Output data configurations can be configured in an additional tab in the data object editor. There for each data object class and output channel an output output data configuration can be defined.

The output data configurations can be inherited along the data objects tree. The column Object ID shows from with data object the output data configuration is inherited from. By clicking overwrite, the editor opens and a new output data configuration can be configured.

Working with output channels in code

The bundle provides a service class, with converts a Pimcore data object to an output data structure based on its ouput data configuration.

A sample template helper see doc/ProductListSpecification.php, the needed service configuration:

Events

Event Description
outputDataConfigToolkit.initialize Before any output-config tab's initialization, so you can i.e. manipulate the configuration object, or only show the tab for a specific class type. For a full example see OutputDataConfigToolkitListener.
outputDataConfigToolkit.saveEvent Before a specific output config is saved. Can be implemented to sort config attributes or to modify attributes in any other way.

Adding new operators

Create a Pimcore bundle and add following files:

php implementation of operator

java script implementation of operator

Defining output data configuration programmatically

For defining definitions programmatically utilize the \OutputDataConfigToolkitBundle\ConfigAttribute\... classes.

I.e. adding a classification store key to a channel definition:

Support for textual class ids

Execute the following statement:

Migration from Pimcore 4


All versions of output-data-config-toolkit-bundle with dependencies

PHP Build Version
Package Version
Requires pimcore/pimcore Version ^11.0
symfony/config Version ^6.2
symfony/dependency-injection Version ^6.2
symfony/event-dispatcher Version ^6.2
symfony/event-dispatcher-contracts Version ^3.0
symfony/http-foundation Version ^6.2
symfony/http-kernel Version ^6.2
symfony/routing Version ^6.2
symfony/templating Version ^6.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package pimcore/output-data-config-toolkit-bundle contains the following files

Loading the files please wait ....