Download the PHP package idci/simple-schedule-bundle without Composer
On this page you can find all versions of the php package idci/simple-schedule-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download idci/simple-schedule-bundle
More information about idci/simple-schedule-bundle
Files in idci/simple-schedule-bundle
Package simple-schedule-bundle
Short Description Symfony SimpleScheduleBundle
License GPL-3.0+
Informations about the package simple-schedule-bundle
SimpleScheduleBundle
A simple Schedule Bundle for Symfony2
Installation
To install this bundle please follow the next steps:
First add the dependencies to your composer.json
file:
Then install the bundle with the command:
Enable the bundle in your application kernel:
Now the Bundle is installed.
Configure your database parameters in the app/config/parameters.yml
then run
Add the following lines in the routing.yml
:
Add the following lines in the config.yml
:
The administration area
This bundle provides an administration section in order to use it quickly.
If you would like to use it, simply point your browser at /admin/schedule
.
To paginate element lists, this bundle uses the well known WhiteOctoberPagerfantaBundle
You need to configure the max_per_page
parameter in your app/config/parameter.yml
file as follows:
In order to secure this area, you need to edit app/config/security.yml
as described in the Symfony2 documentation
This is not required for testing though it is really recommanded as a production setting.
Here's a simple but effective configuration example which uses a basic in-memory user security model:
Web service (REST)
This bundle can be use through a web API.
For this you have to install IDCIExporterBundle
and add the following lines in the config.yml
:
To query this api simply use this url /api/query?[params]
The main parameters are:
- format: xml (default), json, jsonp, csv, ics (for event entity)
- entity: Event (default), Location, Category
Exemples:
To query all the locations in the json format: /api/query?entity=Location&format=json
To query all the events in the ics format: /api/query?entity=Event&format=ics
To query all the category in the xml format: /api/query?entity=Category&format=xml
or /api/query?entity=Category
You can also use more specific query parameters for each entity as folow:
Location:
- id => id=x
- ids => ids[]=x&ids[]=y
Category:
- id => id=x
- ids => ids[]=x&ids[]=y
- level => level=0
- parent_category_id
- parent_category_ids
- ancestor_category_id
- ancestor_category_ids
- location_id
- all_in_location_id
Event:
- id => id=x
- ids => ids[]=x&ids[]=y
- category_id
- category_ids
- parent_category_id
- parent_category_ids
- ancestor_category_id
- ancestor_category_ids
- location_id
- location_ids
Todo ~ TER ;)
- xproperty_namespace
- xproperty_key
- xproperty_value
TODO
- How to override this bundle
All versions of simple-schedule-bundle with dependencies
symfony/framework-bundle Version 2.1.*
twig/twig Version *
doctrine/doctrine-bundle Version *
pagerfanta/pagerfanta Version dev-master
white-october/pagerfanta-bundle Version dev-master