Jifty::Web::Form::Link - Creates a state-preserving HTML link
Describes an HTML link that may be AJAX-enabled. Most of the computation of this comes from Jifty::Web::Form::Clickable, which generates Jifty::Web::Form::Links.
Link adds url and escape_label to the list of possible accessors and mutators, in addition to those offered by "accessors" in Jifty::Web::Form::Element.
url
escape_label
Creates a new Jifty::Web::Form::Link object. Possible arguments to the PARAMHASH are:
PARAMHASH
The URL of the link; defaults to the current URL.
HTML escape the label? Defaults to true
Any parameter which "new" in Jifty::Web::Form::Element can take.
Gets or sets the URL that the link links to.
Render the string of the link, including any necessary javascript.
To install Jifty, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Jifty
CPAN shell
perl -MCPAN -e shell install Jifty
For more information on module installation, please visit the detailed CPAN module installation guide.