2017 © Pedro Peláez
 

ezplatform-bundle ezplatform-query-bundle

An eZ Platform bundle that adds features around Repository Queries.

image

bdunogier/ezplatform-query-bundle

An eZ Platform bundle that adds features around Repository Queries.

  • Saturday, November 19, 2016
  • by bdunogier
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

eZ Platform Query Bundle

A Bundle for eZ Platform, the open-source Symfony based CMS, that provides extra features around Repository Queries., (*1)

Installation

Features

Most features involve QueryTypes, predefined QueryObjects that accept parameters, and return a named Query., (*2)

List QueryTypes

This command can list registered QueryTypes, and display details for one in particular:, (*3)

# php app/console bd:query:types
There are 2 registered QueryTypes:

- AppBundle:LatestContent
- AppBundle:Menu


# php app/console bd:query:types AppBundle:LatestContent
Class: "AppBundle\QueryType\LatestContentQueryType"
Service: "app.query_type.latest_content",
Parameters: location_id, limit

Run a Query

This command runs a Query, built from a QueryType, and displays the results:, (*4)

# php app/console bd:query:run AppBundle:LatestContent location_id:2 
3 result(s) found in 0.06 seconds:

[60] Top Stories (blog)
[58] Contact Us (contact_form)
[59] Projects (gallery)

The Versions

19/11 2016

dev-master

9999999-dev

An eZ Platform bundle that adds features around Repository Queries.

  Sources   Download

MIT

The Requires