2017 © Pedro PelĂĄez
 

library calendar

Component for generation calendar prepared for next work with it

image

kappa/calendar

Component for generation calendar prepared for next work with it

  • Sunday, June 8, 2014
  • by Budry
  • Repository
  • 1 Watchers
  • 0 Stars
  • 43 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Kappa\Calendar Build Status

Component for generation calendar prepared for next work with it, (*1)

Requirements:

Installation

The best way to install kappa/calendar is using Composer:, (*2)

$ composer require kappa/calendar:@dev

And now you have to register the extensions in config.neon, (*3)

extensions:
    - Kappa\Calendar\CalendarExtension

Usages

You can use default component with default or custom template, (*4)

/**
 * @inject
 * @var \Kappa\Calendar\ICalendarControlFactory
 */
public $calendarControlFactory;

/**
 * @return \Kappa\Calendar\CalendarControl
 */
protected function createComponentCalendar()
{
    return $this->calendarControlFactory->create();
}

with custom template, (*5)

/**
 * @return \Kappa\Calendar\CalendarControl
 */
protected function createComponentCalendar()
{
    $calendar = $this->calendarControlFactory->create();
    $calendar->setTemplate('template.latte');

    return $calendar;
}

or in template, (*6)

{control calendar 'template.latte'}

In template will be $calendar variable contains Calendar object for more info please see into default template, (*7)

The Versions

08/06 2014

dev-master

9999999-dev https://github.com/Kappa-org/Calendar

Component for generation calendar prepared for next work with it

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

framework calendar nette kappa

07/06 2014

v1.0.0

1.0.0.0 https://github.com/Kappa-org/Calendar

Component for generation calendar prepared for next work with it

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

framework calendar nette kappa