++ed by:
ROBINS

1 PAUSE user(s)

Ricardo SIGNES

NAME

HTML::Widget::Plugin::Link - a hyperlink

VERSION

version 0.202

SYNOPSIS

  $widget_factory->link({
    text => "my favorite D&D pages",
    href => 'http://rjbs.manxome.org/rubric/entries/tags/dnd',
  });

...or...

  $widget_factory->link({
    html => "some <em>great<em> d&amp;d pages",
    href => 'http://rjbs.manxome.org/rubric/entries/tags/dnd',
  });

DESCRIPTION

This plugin provides a basic input widget.

METHODS

provided_widgets

This plugin provides the following widgets: link

This method returns a basic text hyperlink.

In addition to the generic HTML::Widget::Plugin attributes, the following are valid arguments:

href

This is the URI to which the link ... um ... links. If no href is supplied, an exception is thrown.

html
text

Either of these may contain the text of created link. If passed as html, it is not escaped; if passed as text, it is. If no text is supplied, the href is used. If both options are provided, an exception is thrown.

AUTHOR

Ricardo SIGNES

COPYRIGHT AND LICENSE

This software is copyright (c) 2005 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.