|
From: Chris W. <la...@us...> - 2001-10-24 16:22:23
|
Update of /cvsroot/openinteract/OpenInteract/OpenInteract
In directory usw-pr-cvs1:/tmp/cvs-serv11887
Modified Files:
CommonHandler.pm
Log Message:
added tons of docs, added 'notify()' task; added 'create()' task which
wraps around 'show()'
Index: CommonHandler.pm
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/OpenInteract/CommonHandler.pm,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** CommonHandler.pm 2001/10/20 15:17:00 1.25
--- CommonHandler.pm 2001/10/24 16:22:20 1.26
***************
*** 25,34 ****
sub search_form {
my ( $class, $p ) = @_;
unless ( $class->MY_ALLOW_SEARCH_FORM ) {
return '<h1>Error</h1><p>Objects of this type cannot be searched.</p>';
}
$p ||= {};
- my $R = OpenInteract::Request->instance;
my %params = %{ $p };
$R->{page}{title} = $class->MY_SEARCH_FORM_TITLE;
[...1930 lines suppressed...]
! which it returns. This is probably the method you will most often
! override, depending on how you present dates to your users.
=head1 BUGS
***************
*** 1541,1553 ****
=head1 TO DO
-
- B<Finish documenting>
-
- Document customization methods and give examples.
-
- B<Add simple listing>
-
- Add an optional 'listing' method which allows you to just list all
- objects of a particular type.
B<GenericDispatcher items available thru methods>
--- 1905,1908 ----
|