Download the PHP package se7enxweb/explayouts-relation-list-query without Composer

On this page you can find all versions of the php package se7enxweb/explayouts-relation-list-query. 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 explayouts-relation-list-query

Exponential Layouts Relation List Query

General description

Exponential Layouts Relation List Query (explayouts_relation_list_query) provides relation list collection query handlers for Exponential Layouts on Exponential Legacy / Exponential 6. Given a source content object, the queries return its ezobjectrelationlist field relations (or its reverse relations) as expLayoutsContentBrowserItem objects, with content-class filtering, sorting and pagination — the data source pattern used by layout collection blocks.

This extension is an Exponential Legacy port inspired by netgen-layouts/layouts-ibexa-relation-list-query and provides the following capabilities:

Features

The following features are provided by the Exponential Layouts Relation List Query extension:

Version

Copyright

License

Exponential Layouts Relation List Query is licensed under the GNU General Public License.

The complete license agreement is included in the LICENSE.md file.

Exponential Layouts Relation List Query is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License or at your option a later version.

Exponential Layouts Relation List Query is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

The GNU GPL gives you the right to use, modify and redistribute Exponential Layouts Relation List Query under certain conditions. The GNU GPL license is distributed with the software, see the file LICENSE.md.

It is also available at http://www.gnu.org/licenses/gpl.txt

You should have received a copy of the GNU General Public License along with Exponential Layouts Relation List Query in LICENSE.md. If not, see http://www.gnu.org/licenses/.

Using Exponential Layouts Relation List Query under the terms of the GNU GPL is free (as in freedom).

For more information or questions please contact [email protected]

Requirements

The following requirements exist for using the Exponential Layouts Relation List Query extension:

Exponential version

PHP version

Extension dependencies

Installation

Installation is the standard extension procedure: place the extension in extension/explayouts_relation_list_query, activate it after its dependencies via ActiveExtensions[] (or ActiveAccessExtensions[] for a single siteaccess), regenerate autoloads with php bin/php/ezpgenerateautoloads.php -e and clear caches with php bin/php/ezcache.php --clear-all --purge --allow-root-user.

See INSTALL.md for the complete step-by-step installation instructions.

Usage

The extension ships three classes:

Class File Purpose
expLayoutsRelationListQuery classes/explayoutsrelationlistquery.php Reads an ezobjectrelationlist field and returns the related items
expLayoutsReverseRelationListQuery classes/explayoutsreverserelationlistquery.php Finds objects that relate back to the selected item, optionally per field
expLayoutsRelationListQueryFactory classes/explayoutsrelationlistqueryfactory.php relation() / reverseRelation() factory shortcuts

A quick example:

Reverse relations ("who links here"):

For layout collections, the Exponential Layouts collection runtime registers the relation list query types in extension/explayouts/settings/explayouts.ini.append.php:

Pick exp_content_relation_list or exp_content_reverse_relation_list as the query type of a dynamic collection in the layouts admin UI. Those handler classes ship with the explayouts extension and support use_current_location against the currently viewed page; the classes in this extension are the standalone port of the upstream package for direct PHP use (custom modules, block handlers, CLI scripts).

The full usage guide in doc/USAGE.md covers the complete parameter reference, usage scenarios ("related articles" boxes, "who links here" listings, location-based source resolution, CLI usage), how the two layers relate, and the three customization layers of this stack: the settings layer (overriding the query type Name= / Handler= through the INI configuration cascade), the template layer (collection items are rendered by your layouts block templates) and the PHP layer (the protected stage methods and custom handler classes).

Documentation

Document Description
INSTALL.md Requirements, dependencies and step-by-step activation instructions
doc/USAGE.md Parameter reference, scenarios, collection query types and the settings/template/PHP customization layers
doc/FAQ.md Frequently asked questions and answers
doc/TODO.md Known gaps and planned improvements
doc/SUPPORT.md Where and how to get help
LICENSE.md The complete GNU General Public License agreement

Troubleshooting

Read the FAQ

Use our support systems


All versions of explayouts-relation-list-query with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1 || ^8.2 || ^8.3 || ^8.4
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 se7enxweb/explayouts-relation-list-query contains the following files

Loading the files please wait ...