projects
/
koha_gimpoz
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 7936: Cataloging Help Files
[koha_gimpoz]
/
C4
/
Cache.pm
diff --git
a/C4/Cache.pm
b/C4/Cache.pm
index
c07db16
..
151a3fa
100644
(file)
--- a/
C4/Cache.pm
+++ b/
C4/Cache.pm
@@
-19,22
+19,25
@@
package C4::Cache;
=head1 NAME
=head1 NAME
-
C4::Cache - Handling caching of html and Objects for Koha
+C4::Cache - Handling caching of html and Objects for Koha
=head1 SYNOPSIS
use C4::Cache (cache_type => $cache_type, %params );
=head1 SYNOPSIS
use C4::Cache (cache_type => $cache_type, %params );
-
=head1 DESCRIPTION
=head1 DESCRIPTION
- Base class for C4::Cache::X. Subclasses need to provide the following methods
+Base class for C4::Cache::X. Subclasses need to provide the following methods
+
+B<_cache_handle ($params_hr)> - cache handle creator
+
+B<set_in_cache ($key, $value, $expiry)>
- B<_cache_handle ($params_hr)> - cache handle creator
- B<set_in_cache ($key, $value, $expiry)>
- B<get_from_cache ($key)>
- B<clear_from_cache ($key)>
- B<flush_all ()>
+B<get_from_cache ($key)>
+
+B<clear_from_cache ($key)>
+
+B<flush_all ()>
=head1 FUNCTIONS
=head1 FUNCTIONS
@@
-47,7
+50,6
@@
use Carp;
use base qw(Class::Accessor);
use C4::Cache::Memcached;
use base qw(Class::Accessor);
use C4::Cache::Memcached;
-use C4::Cache::FastMemcached;
__PACKAGE__->mk_ro_accessors( qw( cache ) );
__PACKAGE__->mk_ro_accessors( qw( cache ) );
@@
-64,11
+66,11
@@
sub new {
=head2 EXPORT
=head2 EXPORT
-
None by default.
+None by default.
=head1 SEE ALSO
=head1 SEE ALSO
-
-
C4::Cache::Memcached
+
+C4::Cache::Memcached
=head1 AUTHOR
=head1 AUTHOR