Apache::Wyrd::CGISetter - Set values in a Wyrd according to CGI state



NAME

Apache::Wyrd::CGISetter - Set values in a Wyrd according to CGI state


SYNOPSIS

        <BASENAME::CGISetter><h1>$:title</h1></BASENAME::CGISetter>


DESCRIPTION

Sets variables in the space it encloses based on CGI params. The variables are denoted by the sequence $:variable_name where the variable_name follows perl rules for variable names.

HTML ATTRIBUTES

style
three optional styles are available
style=``escape''
substitute HTML-interpretable characters with their entity equivalents

style=``query''
Properly quote the values for use in SQL queries

style=``clear''
Remove any undefined values, so that there are no remaining $:variable placemarkers.

PERL METHODS

NONE


BUGS/CAVEATS/RESERVED METHODS

Reserves the _format_output method.

Does not handle multiple CGI values, but takes the first handed to it by the Apache::Request->param call.


AUTHOR

Barry King <wyrd@nospam.wyrdwright.com>


SEE ALSO

Apache::Wyrd
General-purpose HTML-embeddable perl object


LICENSE

Copyright 2002-2004 Wyrdwright, Inc. and licensed under the GNU GPL.

See LICENSE under the documentation for Apache::Wyrd.

 Apache::Wyrd::CGISetter - Set values in a Wyrd according to CGI state