Bigtop

 view release on metacpan or  search on metacpan

lib/Bigtop/Keywords.pm  view on Meta::CPAN

            sort_order => 130,
        },
        html_form_class => {
            keyword    => 'html_form_class',
            label      => 'Class',
            descr      => 'class attribute for the form field',
            type       => 'text',
            field_type => 'text',
            multiple   => 0,
            sort_order => 130,
        },
        html_form_hint => {
            keyword    => 'html_form_hint',
            label      => 'Hint',
            descr      => 'form field hint',
            type       => 'text',
            multiple   => 0,
            sort_order => 135,
        },
        html_form_options => {
            keyword     => 'html_form_options',
            label       => 'Options',
            descr       => 'Choices for fields of type select <br />'
                                       .   '[ignored for refers_to fields]',
            type        => 'pair',
            field_type  => 'select',
            multiple    => 1,
            pair_labels => [ 'Label', 'Database Value' ],
            pair_required => 1,
            sort_order    => 140,
        },
        html_form_foreign => {
            keyword    => 'html_form_foreign',
            label      => 'Foreign',
            descr      => 'Display field is a foreign key',
            type       => 'boolean',
            field_type => 'display',
            multiple   => 0,
            sort_order => 145,
        },
        html_form_onchange => {
            keyword    => 'html_form_onchange',
            label      => 'onchange Callback',
            descr      => 'Name of Javascript function to call on change',
            type       => 'text',
            field_type => 'select',
            multiple   => 0,
            sort_order => 146,
        },
        html_form_fieldset => {
            keyword    => 'html_form_fieldset',
            label      => 'Fieldset',
            descr      => 'Name of fieldset to group this field into',
            type       => 'text',
            multiple   => 0,
            sort_order => 147,
        },
        date_select_text => {
            keyword    => 'date_select_text',
            label      => 'Date Popup Link Text',
            descr      => 'link text for date popup window',
            type       => 'text',
            field_type => 'text',
            multiple   => 0,
            refresh    => 1,
            sort_order => 150,
        },
        html_form_raw_html => {
            keyword    => 'html_form_raw_html',
            label      => 'Raw HTML',
            descr      => q!appears before this field's table row!,
            type       => 'text',
            multiple   => 0,
            sort_order => 160,
        },
        non_essential => {
            keyword  => 'non_essential',
            label    => 'Non-essential',
            descr    => 'Tells modeler: retrieve only when accessed',
            type     => 'boolean',
            sort_order => 170,
        },
        pseudo_value => {
            keyword  => 'pseudo_value',
            label    => 'Value for Pseudo Field',
            descr    => q[This is the definition for a pseudo field. By defining it, you're declaring the field as a pseudo field],
            type     => 'text',
            sort_order => 180,
        },
        unique_name => {
            keyword  => 'unique_name',
            label    => 'Unique constraint name',
            descr    => q[Declare this field as unique, and use the value for the constraint name],
            type     => 'text',
            sort_order => 190,
        }
    },

    extra_sql => {
        sql => {
            keyword       => 'sql',
            label         => 'SQL',
            descr         => 'Literal SQL, use bind parameters, see below.',
            type          => 'text',
            multiplie     => 0,
            urgency       => 10,
            sort_order    => 10,
        },
        expects => {
            keyword       => 'expects',
            label         => 'Bind Parameters',
            descr         =>
                'What your SQL needs for positional binding.'
              . '  [optional, omit if you have no bound parameters]',
            type          => 'pair',
            pair_required => 0,
            pair_labels   => [ 'Name', 'Type' ],
            multiple      => 1,
            urgency       => 5,
            sort_order    => 20,
        },



( run in 1.368 second using v1.01-cache-2.11-cpan-364913b4093 )