Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12862
Modified Files:
Action.pm
Log Message:
small updates about init_at_startup()
Index: Action.pm
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Action.pm,v
retrieving revision 1.65
retrieving revision 1.66
diff -C2 -d -r1.65 -r1.66
*** Action.pm 5 Dec 2004 08:52:55 -0000 1.65
--- Action.pm 24 Jan 2005 16:54:28 -0000 1.66
***************
*** 1229,1238 ****
When OpenInteract starts up it will call C<init_at_startup()> on every
! configured action class. This is useful for reading static (or rarely
! changing) information once and caching the results. Since the
! L<OpenInteract2::Context|OpenInteract2::Context> object is guaranteed
! to have been created when this is called you can grab a database
! handle and slurp all the lookup entries from a table into a lexical
! data structure.
Here is an example:
--- 1229,1239 ----
When OpenInteract starts up it will call C<init_at_startup()> on every
! configured action class. (The class
! L<OpenInteract2::Setup::InitializeActions> actually does this.) This
! is useful for reading static (or rarely changing) information once and
! caching the results. Since the L<OpenInteract2::Context> object is
! guaranteed to have been created when this is called you can grab a
! database handle and slurp all the lookup entries from a table into a
! lexical data structure.
Here is an example:
|