2017 © Pedro Peláez
 

symfony-bundle calendr-bundle

This bundle provides an integration of the CalendR library

image

frequence-web/calendr-bundle

This bundle provides an integration of the CalendR library

  • Sunday, March 25, 2018
  • by yohang
  • Repository
  • 3 Watchers
  • 23 Stars
  • 39,987 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 4 Open issues
  • 6 Versions
  • 4 % Grown

The README.md

FrequenceWebCalendRBundle Build Status

This bundle provides CalendR integration., (*1)

It allows you to manage calendar and events., (*2)

Calendar generation

Controller:


/** * @Template() */ public function indexAction() { return array('month' => $this->get('calendr')->getMonth(2012, 01)); }

Template




{% for week in month %} {% for day in week %} {% endfor %} {% endfor %}
{% if month.contains(day) %} {{ day.begin.format('d') }} {% else %}   {% endif %}

Event management

Providers

To manage your events, you have to create a provider and an event class. See CalendR doc, (*3)

Declare your provider

This bundle allows you to easily add your providers to the CalendR event manager. Your provider have to be a service., (*4)

#config.yml

services:
    my_event_provider:
        class: Your\Bundle\Event\Provider
        tags:
            - { name: calendr.event_provider }

The Versions

25/03 2018

dev-master

9999999-dev

This bundle provides an integration of the CalendR library

  Sources   Download

MIT

The Requires

 

The Development Requires

calendar

25/03 2018

1.2.2

1.2.2.0

This bundle provides an integration of the CalendR library

  Sources   Download

MIT

The Requires

 

The Development Requires

calendar

25/03 2018

1.2.1

1.2.1.0

This bundle provides an integration of the CalendR library

  Sources   Download

MIT

The Requires

 

The Development Requires

calendar

25/03 2018

1.2.0

1.2.0.0

This bundle provides an integration of the CalendR library

  Sources   Download

MIT

The Requires

 

The Development Requires

calendar

15/06 2017

1.1.0

1.1.0.0

This bundle provides an integration of the CalendR library

  Sources   Download

MIT

The Requires

 

calendar

23/01 2013

1.0.0

1.0.0.0

This bundle provides an integration of the CalendR library

  Sources   Download

MIT

The Requires

 

calendar