NAME

HTML::Form::Declare::Object - Simple element of HTML::Form::Declare

VERSION

Version 0.03_l

SYNOPSIS

use HTML::Form::Declare::Object;

my $form = { ... };
my $config = HTML::Form::Declare::Object::Config->new( $some_config );
my $object = HTML::Form::Declare::Object->create( $form );

## $object structure

FUNCTIONS

config

return Config

parent

return parent of field

new

Creator (use better create)

create

Creator with check input

create_child

Po dannym hesha sozdaet potomka ob'ekta

create_childs

Ischet spiski groups i fields i dlya kazhdyi element rekursivno preobrazuet v ob'ekt HTML::Form::Declare::Object
$form_obj - ob'ekt HTML::Form::Declare::Object
$filter - fil'tr
Vozvrat - ob'ekt s preobrazovannymi spiskami groups i fields

filter_fields

Poisk edinstvennogo znacheniya v heshe fil'trov
...
$filter = 1
...
Vernet
DEFAULT ispol'zuetsya dlya sluchaev, kogda znachenie ne naideno
Esli znachenie ne naideno, pole udalyaetsya

sort_by_order

Sortiruet massiv polei 'groups' i 'fields' v ob'ekte soglasno polyu 'order'

get_subfield

Vozvraschaet pervyi po spisku element iz polei potomkov s ukazannym imenem

get_field_list

List of fields

all_dependent_on

Vse zavisimye elementy dannogo konteinera

full_prefix

Polnyi prefiks. Sostavlyaetsya iz prefiksa formy i prefiksov ob'ektov

full_form_name

Polnoe imya bez global'nogo prefiksa formy

global_form_name

Imya polya v fore s uchetom global'nogo prefiksa

dependent_value_not_set

Est' ob'ekt ot kotorogo zavisim, no u nego ne ustanovleno pole value

is_dependent_to

Proveryaet nalichie polya sredi dereva zavisimyh

AUTHOR

shv, C<< <shv@cpan.org> >>

BUGS

Please report any bugs or feature requests to bug-html-form-declare-object at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-Form-Declare-Object. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc HTML::Form::Declare::Object

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2009 shv, all rights reserved.

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