NAME
OpenInteract2::Manage::Website::ListActions - List all actions in a website
SYNOPSIS
#!/usr/bin/perl
use strict;
use OpenInteract2::Manage;
my $website_dir = '/home/httpd/mysite';
my $task = OpenInteract2::Manage->new(
'list_actions', { website_dir => $website_dir } );
my @status = $task->execute;
foreach my $s ( @status ) {
print "Action [[$s->{name}]]\n",
"Type: $s->{type}\n",
"Class: $s->{class}\n",
"Method: $s->{method}\n",
"Template: $s->{template}\n";
}
DESCRIPTION
This task lists available actions in a website.
STATUS MESSAGES
In addition to the default entries, each status message includes:
- name
-
Name of the action
- url
-
Arrayref of all URLs this action mapped to.
- type
-
Type of action (template, class, box, directory_handler)
- class
-
Class used for action
- method
-
Method used for action
- template
-
Template used for action
BUGS
None known.
TO DO
Nothing known.
COPYRIGHT
Copyright (c) 2002-2003 Chris Winters. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHORS
Chris Winters <chris@cwinters.com>