From: Chris W. <la...@us...> - 2005-02-26 23:07:15
|
Update of /cvsroot/openinteract/OpenInteract2/sample/package_from_table In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26870 Modified Files: FILES Added Files: App.pm Removed Files: package.pod Log Message: OIN-72: move 'package.pod' to 'App.pm' so documentation is searchable/viewable using standard tools --- NEW FILE: App.pm --- package OpenInteract2::App::[% class_name %]; use strict; use base qw( Exporter OpenInteract2::App ); use OpenInteract2::Manage; $OpenInteract2::App::[% class_name %]::VERSION = '0.01'; @OpenInteract2::App::[% class_name %]::EXPORT = qw( install ); sub get_brick_name { return '[% package_name %]'; } # Not a method, just an exported sub sub install { my ( $website_dir ) = @_; my $manage = OpenInteract2::Manage->new( 'install_package' ); $manage->param( website_dir => $website_dir ); $manage->param( package_class => __PACKAGE__ ); return $manage->execute; } __END__ =pod =head1 NAME OpenInteract2::App::[% class_name %] - This application will do everything! =head1 SYNOPSIS =head1 DESCRIPTION =head1 OBJECTS No objects created by this application. =head1 ACTIONS No actions defined in this application. =head1 RULESETS No rulesets defined in this application. =head1 TASKS No management tasks defined in this application. =head1 SEE ALSO =head1 AUTHORS Who AmI E<lt>me...@wh...E<gt> =cut Index: FILES =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/sample/package_from_table/FILES,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FILES 17 Feb 2005 05:09:36 -0000 1.1 --- FILES 26 Feb 2005 23:07:03 -0000 1.2 *************** *** 3,10 **** spops.ini --> conf spops.ini action.ini --> conf action.ini - package.pod --> doc [% package_name %].pod messages_en.msg --> msg/[% package_name %]-messages-en.msg SQLInstall.pm --> OpenInteract2 SQLInstall [% class_name %].pm Action.pm --> OpenInteract2 Action [% class_name %].pm form.tmpl --> template form.tmpl display.tmpl --> template display.tmpl --- 3,10 ---- spops.ini --> conf spops.ini action.ini --> conf action.ini messages_en.msg --> msg/[% package_name %]-messages-en.msg SQLInstall.pm --> OpenInteract2 SQLInstall [% class_name %].pm Action.pm --> OpenInteract2 Action [% class_name %].pm + App.pm --> OpenInteract2 App [% class_name %].pm form.tmpl --> template form.tmpl display.tmpl --> template display.tmpl --- package.pod DELETED --- |