<<

NAME

pfconfig::backend

DESCRIPTION

pfconfig::backend

Abstract class that describes the minimal requirements in order to act as a layer 2 cache in pfconfig::manager

The subclasses only have to implement init where they define the cache attribute of the object.

This cache object will work out of the box if it supports the following methods : - set($key, $unserialized_object) - get($key) - has to return the unserialized object - remove($key)

new

Creates a new backend. Shouldn't be used directly. Use init for subclass initialisation

init

Initialization function for subclasses

get

Get an element in the backend

set

Set an element in the backend

Remove an element in the backend

AUTHOR

Inverse inc. <info@inverse.ca>

COPYRIGHT

Copyright (C) 2005-2015 Inverse inc.

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 92:

=back without =over

<<