[system] / trunk / webwork-modperl / lib / WeBWorK / EquationCache.pm Repository:
ViewVC logotype

Diff of /trunk/webwork-modperl/lib/WeBWorK/EquationCache.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1517 Revision 1518
1################################################################################ 1################################################################################
2# WeBWorK mod_perl (c) 2000-2002 WeBWorK Project 2# WeBWorK mod_perl (c) 2000-2002 WeBWorK Project
3# $Id$ 3# $Id$
4################################################################################ 4################################################################################
5 5
6package WeBWorK::PG::EquationCache; 6package WeBWorK::EquationCache;
7 7
8=head1 NAME 8=head1 NAME
9 9
10WeBWorK::PG::EquationCache - create and cache images of TeX equations. 10WeBWorK::EquationCache - create and cache images of TeX equations.
11 11
12=head1 SYNPOSIS 12=head1 SYNPOSIS
13 13
14 my $cache = WeBWorK::PG::EquationCache->new(cacheDB => "/path/to/equationcache.db"); 14 my $cache = WeBWorK::EquationCache->new(cacheDB => "/path/to/equationcache.db");
15 my $imageName = $cache->lookup('\[3x^2\]'); 15 my $imageName = $cache->lookup('\[3x^2\]');
16 16
17=head1 DESCRIPTION 17=head1 DESCRIPTION
18 18
19WeBWorK::PG::EquationCache maintains a list of unique identifiers for TeX 19WeBWorK::PG::EquationCache maintains a list of unique identifiers for TeX
41 41
42=head1 METHODS 42=head1 METHODS
43 43
44=over 44=over
45 45
46=item new 46=item new(%options)
47 47
48Returns a new EquationCache object. C<%options> must contain the following 48Returns a new EquationCache object. C<%options> must contain the following
49entries: 49entries:
50 50
51 cacheDB => path to image cache database file 51 cacheDB => path to image cache database file

Legend:
Removed from v.1517  
changed lines
  Added in v.1518

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9