GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  HTML::SHAKAN::DECLARE (3)

.ds Aq ’

NAME

HTML::Shakan::Declare - declare the form

CONTENTS

SYNOPSIS



    # declare
    {
        package My::Form;
        use HTML::Shakan::Declare;

        form add => (
            TextField(
                name     => name,
                required => 1,
            ),
            TextField(
                name     => email,
                required => 1,
            ),
        );
    }

    # use it
    {
        my $form = My::Form->get(
            add => (
                request => CGI->new,
            )
        );
        $form->render;
    }



DESCRIPTION

This module supports to generate form using declare style.

FUNCTIONS

This module exports HTML::Shakan::Fields’s exported functions and following functions.
form($name, \@fields) Register new form named $name with <\@fields>.

EXPORTED METHODS

Your::Form::Class->get($name[, %args]) Now, your form class provides get method. This method returns instance of HTML::Shakan.

AUTHORS

Tokuhiro Matsuno

SEE ALSO

HTML::Shakan
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 HTML::SHAKAN::DECLARE (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.