=head1 NAME

quickpoll- Quick poll for Interchange

=head1 VERSION

1.1

=head1 SYNOPSIS

	[control-set]
		[component]quickpoll[/component]
	    [code]1[/code]
	[/control-set]

=head1 DESCRIPTION

This feature adds a "Quick Poll" feature to an interchange catalog. To implement,
place the "quickpoll" component in a page (or take the page code from
templates/components/quickpoll and incorporate it).

It creates two tables, "quickpoll" and "quickpoll_answer". It is tested on
MySQL, but should run on Postgres as well.

+-------------+--------------+------+-----+---------+----------------+
| Field       | Type         | Null | Key | Default | Extra          |
+-------------+--------------+------+-----+---------+----------------+
| code        | int(11)      |      | PRI | NULL    | auto_increment |
| poll_id     | varchar(128) | YES  |     | NULL    |                |
| owner       | varchar(128) | YES  |     | NULL    |                |
| title       | varchar(128) | YES  |     | NULL    |                |
| question    | varchar(255) | YES  |     | NULL    |                |
| choices     | text         | YES  |     | NULL    |                |
| colors      | text         | YES  |     | NULL    |                |
| num_answers | varchar(128) | YES  |     | NULL    |                |
+-------------+--------------+------+-----+---------+----------------+

+-------------+--------------+------+-----+---------+----------------+
| Field       | Type         | Null | Key | Default | Extra          |
+-------------+--------------+------+-----+---------+----------------+
| code        | int(11)      |      | PRI | NULL    | auto_increment |
| poll_id     | int(11)      | YES  |     | NULL    |                |
| question_id | int(11)      | YES  | MUL | NULL    |                |
| answer      | varchar(255) | YES  |     | NULL    |                |
| comment     | text         | YES  |     | NULL    |                |
| answer_date | varchar(128) | YES  |     | NULL    |                |
| ipaddr      | varchar(128) | YES  |     | NULL    |                |
| username    | varchar(128) | YES  |     | NULL    |                |
| login_table | varchar(128) | YES  |     | NULL    |                |
+-------------+--------------+------+-----+---------+----------------+

To create a poll, go to Tables->quickpoll->New Entry in the admin UI.

=head1 AUTHOR

Mike Heins, Perusion, <mikeh@perusion.com>.
