NAME
Apache::Wyrd::Lookup
SYNOPSIS
<Apache::Wyrd::Lookup joiner=" : ">
select * from people
</Apache::Wyrd::Lookup>
<Apache::Wyrd::Lookup
query="select name from contact where name is like 'S%'">
<b>$:name</b>
<Apache::Wyrd::Var name="field_joiner"><BR></Apache::Wyrd::Var>
</Apache::Wyrd::Lookup>
HTML ATTRIBUTES
- joiner
-
what to join multiple values with. Defaults to ", ". If either this or record_joiner is set to "CSV", comma separated value format will be used. For the special characters, "CR" or "\r" will give carriage return, and LF or "\n" will give a linefeed, the same for CRLF and "\r\n".
- field_joiner
-
an alias for
joiner
- record_joiner
-
what to join multiple values with. Defaults to newline.
PERL METHODS
(format: (returns) name (accepts))
- (scalar)
_default_joiner
(void) -
method to be overridden in a subclass to change the default value for joiner.
- (scalar)
_default_record_joiner
(void) -
method to be overridden in a subclass to change the default value for joiner.
BUGS/CAVEATS
Reserves the _format_output and _generate_output methods.
AUTHOR
Barry King <wyrd@nospam.wyrdwright.com>
SEE ALSO
LICENSE
Copyright 2002-2004 Wyrdwright, Inc. and licensed under the GPL.