James G Smith > CGI-WeT > CGI::WeT::Modules::Calendar

Download:
CGI-WeT-0.71.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 1.6   Source  

NAME ^

CGI::WeT::Modules::Calendar - Extensions to engine to allow calendar management

SYNOPSIS ^

    use CGI::WeT::Modules::Calendar ();

DESCRIPTION ^

This module provides rendering constructs to allow navigation through a set of calendars. Support is provided for multiple types of events in multiple calendars, both public and private (general and user specific).

EXTENSIONS ^

CGI::WeT::Modules::Calendar::initialize($engine, $r)

This subroutine will initialize the engine passed as $engine with information from Apache (passed as $r). The base URL for calendars is set with the following.

    PerlSetVar WeT_CalendarURL /baseURL/

This is available for building URLs as @@CALENDAR@@. For example, the top level calendar can be viewed at the URL returned by

    $engine->url('@@CALENDAR@@/general/');

A list of available calendars might be found at

    $engine->url('@@CALENDAR@@/');