[jifty-devel] arguments list in Action

Thomas Sibley trs at bestpractical.com
Sat Feb 17 18:02:07 EST 2007


my @names = $a->argument_names;

The method is documented in Jifty::Action's POD...

Tom

mraptor wrote:
> hi,
> 
> I'm trying to get all the arguments passed to Action.I call the action
> like this in the template :
> 
> my $a = Jifty->web->make_action(class => 'Test', arguments =>
> { action => 'add' })
> 
> tried different ways to get the arguments passed but doesn't seems to
> work. I want to get the names too, not only the value if I know the
> name (i.e. argument_value).
> 
> 10x in advance
> 



More information about the jifty-devel mailing list