The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Form::Factory::Control - high-level API for working with form controls

VERSION

version 0.007

DESCRIPTION

Allows for high level processing, validation, filtering, etc. of form control information.

ATTRIBUTES

name

This is the base name for the control.

documentation

This holds a copy the documentation attribute of the original meta attribute.

feature

This is the list of Form::Factory::Feature::Role::Control features associated with the control.

stashable_keys

This is the list of control keys that may be stashed.

METHODS

get_feature_by_name

  my $feature = $control->get_feature_by_name($name);

Given a feature name, it returns the named feature object. Returns undef if no such feature is attached to this control.

has_feature

  if ($control->has_feature($name)) {
      # do something about it...
  }

Returns a true value if the named feature is attached to this control. Returns false otherwise.

AUTHOR

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2009 Qubling Software LLC.

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.