OurCal::Handler::CGI - the default, cgi based handler for OurCal


OurCal documentation  | view source Contained in the OurCal distribution.

Index


NAME

Top

OurCal::Handler::CGI - the default, cgi based handler for OurCal

SYNOPSIS

Top

	my $config    = OurCal::Config->new( file => 'ourcal.conf' );
	my $handler   = OurCal::Handler::CGI->new( config => $config );

METHODS

Top

new <param[s]>

Requires a OurCal::Config object passed in as the config param.

view

Get the name of the view we should be using

date

Returns the date

user

Returns the user as defined by HTTP Basic Auth, cookie or user CGI param.

mode

Get what mode we should be using

header <mime type>

Return what header we need to print out.

param <name>

Get a CGI parma with the given name

need_user

Whether a link need to include a user param or not


OurCal documentation  | view source Contained in the OurCal distribution.