- SEE ALSO
- COPYRIGHT AND LICENSE
Form::Factory::Action::Meta::Class - The meta-class for form actions
package MyApp::Action::Foo; our $VERSION = '0.009'; use Form::Factory::Processor;
All form actions have this role attached to its meta-class.
This is a hash of features. The keys are the short name of the feature to attach and the value is a hash of options ot pass to the feature's constructor on instantiation.
my @attributes = $action->meta->get_controls(@names);
Returns all the controls for this action. This includes controls inherited from parent classes as well. This returns a list of attributes which do Form::Factory::Action::Meta::Attribute::Control.
You may pass a list of control names if you only want a subset of the available controls. If no list is given, all controls are returned.
my $features = $action->meta->get_all_features;
Returns all the feature specs for teh form. This includes all inherited features as well. These are returned in the same format as the "features" attribute.
Andrew Sterling Hanenkamp
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.