summaryrefslogtreecommitdiff
path: root/fml/lib/FML/CGI/MLAdmin/Menu.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2003-09-25 11:40:57 +0000
committerfukachan <fukachan>2003-09-25 11:40:57 +0000
commit2d3e485d03bbc3d5ba82871b487a8b4d964041ce (patch)
treee3aa875a61f0b434e798b2fa604e5242c7058644 /fml/lib/FML/CGI/MLAdmin/Menu.pm
parent267560f658d60a5670f8221a7b6f10ff70052abd (diff)
downloadfml8-2d3e485d03bbc3d5ba82871b487a8b4d964041ce.tar.gz
fml8-2d3e485d03bbc3d5ba82871b487a8b4d964041ce.tar.bz2
fml8-2d3e485d03bbc3d5ba82871b487a8b4d964041ce.zip
change *::CGI:: class architecture.
FML::CGI::*Admin::Menu inherits FML::CGI::Menu. methods in FML::Process::CGI::* returns the value by checking the current cgi mode (admin or ml-admin).
Diffstat (limited to 'fml/lib/FML/CGI/MLAdmin/Menu.pm')
-rw-r--r--fml/lib/FML/CGI/MLAdmin/Menu.pm96
1 files changed, 96 insertions, 0 deletions
diff --git a/fml/lib/FML/CGI/MLAdmin/Menu.pm b/fml/lib/FML/CGI/MLAdmin/Menu.pm
new file mode 100644
index 00000000..5521ad53
--- /dev/null
+++ b/fml/lib/FML/CGI/MLAdmin/Menu.pm
@@ -0,0 +1,96 @@
+#-*- perl -*-
+#
+# Copyright (C) 2002,2003 Ken'ichi Fukamachi
+# All rights reserved. This program is free software; you can
+# redistribute it and/or modify it under the same terms as Perl itself.
+#
+# $FML: Menu.pm,v 1.26 2003/08/29 15:33:56 fukachan Exp $
+#
+
+package FML::CGI::MLAdmin::Menu;
+use strict;
+use Carp;
+use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD);
+use CGI qw/:standard/; # load standard CGI routines
+
+use FML::CGI::Menu;
+@ISA = qw(FML::CGI::Menu);
+
+
+=head1 NAME
+
+FML::CGI::MLAdmin::Menu - provides CGI controll for the specific domain
+
+=head1 SYNOPSIS
+
+ $obj = new FML::CGI::MLAdmin::Menu;
+ $obj->prepare();
+ $obj->verify_request();
+ $obj->run();
+ $obj->finish();
+
+run() executes html_start(), run_cgi() and html_end() described below.
+
+See L<FML::Process::Flow> for flow details.
+
+=head1 DESCRIPTION
+
+=head2 CLASS HIERARCHY
+
+C<FML::CGI::MLAdmin::Menu> is a subclass of C<FML::Process::CGI>.
+
+ FML::Process::Kernel
+ |
+ A
+ FML::Process::CGI::Kernel
+ |
+ A
+ FML::Process::CGI
+ |
+ A
+ -----------------------
+ | |
+ A A
+ FML::CGI::Menu FML::CGI::Menu
+ | |
+ A A
+ FML::CGI::MLAdmin::Menu FML::CGI::MLMLAdmin::Menu
+
+=head1 METHODS
+
+Almost methods common for CGI or HTML are forwarded to
+C<FML::Process::CGI> base class.
+
+This module has routines needed for the admin CGI.
+
+=head1 SEE ALSO
+
+L<CGI>,
+L<FML::Process::CGI>
+and
+L<FML::Process::Flow>
+
+=head1 CODING STYLE
+
+See C<http://www.fml.org/software/FNF/> on fml coding style guide.
+
+=head1 AUTHOR
+
+Ken'ichi Fukamachi
+
+=head1 COPYRIGHT
+
+Copyright (C) 2002,2003 Ken'ichi Fukamachi
+
+All rights reserved. This program is free software; you can
+redistribute it and/or modify it under the same terms as Perl itself.
+
+=head1 HISTORY
+
+FML::CGI::MLAdmin::Menu first appeared in fml8 mailing list driver package.
+See C<http://www.fml.org/> for more details.
+
+=cut
+
+
+1;