Class Horde_Kolab_FreeBusy_Cache_File_acl

Description

A cache file for ACLs. This serves as a buffer between the DB based ACL storage and is required to hold the old ACL list for updates to the DB based cache.

$Horde: framework/Kolab_FreeBusy/lib/Horde/Kolab/FreeBusy/Cache/File/acl.php,v 1.1.2.3 2010/06/24 17:22:28 wrobel Exp $

Copyright 2004-2008 Klarälvdalens Datakonsult AB

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.

Located in /Kolab_FreeBusy/lib/Horde/Kolab/FreeBusy/Cache/File/acl.php (line 36)

Horde_Kolab_FreeBusy_Cache_File
   |
   --Horde_Kolab_FreeBusy_Cache_File_acl
Variable Summary
Method Summary
 Horde_Kolab_FreeBusy_Cache_File_acl Horde_Kolab_FreeBusy_Cache_File_acl (string $cache_dir)
 boolean|PEAR_Error purge (string $filename)
 boolean|PEAR_Error storeACL (string $filename,  &$acl, string $relevance, [string $append = false], array $acl)
Variables

Link to the ACL stored in a data base.

string $_suffix = 'acl' (line 43)

The suffix of this cache file.


Redefinition of:
Horde_Kolab_FreeBusy_Cache_File::$_suffix
The suffix of this cache file.

Inherited Variables

Inherited from Horde_Kolab_FreeBusy_Cache_File

Horde_Kolab_FreeBusy_Cache_File::$_file
Horde_Kolab_FreeBusy_Cache_File::$_filename
Horde_Kolab_FreeBusy_Cache_File::$_version
Methods
Constructor Horde_Kolab_FreeBusy_Cache_File_acl (line 57)

Construct the Horde_Kolab_FreeBusy_Cache_File_acl instance.

Horde_Kolab_FreeBusy_Cache_File_acl Horde_Kolab_FreeBusy_Cache_File_acl (string $cache_dir)
  • string $cache_dir: The path to the cache direcory.
purge (line 70)

Clean the cache file contents.

  • return: True if successful.
boolean|PEAR_Error purge (string $filename)
  • string $filename: The file name of the cache file.

Redefinition of:
Horde_Kolab_FreeBusy_Cache_File::purge()
Clean the cache file contents.
storeACL (line 97)

Store a new ACL.

  • return: True if successful.
boolean|PEAR_Error storeACL (string $filename,  &$acl, string $relevance, [string $append = false], array $acl)
  • string $filename: The file name of the cache file.
  • array $acl: The new ACL.
  • string $relevance: Folder relevance.
  • string $append: Should old entries be purged?
  • &$acl

Inherited Methods

Inherited From Horde_Kolab_FreeBusy_Cache_File

 Horde_Kolab_FreeBusy_Cache_File::Horde_Kolab_FreeBusy_Cache_File()
 Horde_Kolab_FreeBusy_Cache_File::getFile()
 Horde_Kolab_FreeBusy_Cache_File::getFilename()
 Horde_Kolab_FreeBusy_Cache_File::load()
 Horde_Kolab_FreeBusy_Cache_File::purge()
 Horde_Kolab_FreeBusy_Cache_File::setFilename()
 Horde_Kolab_FreeBusy_Cache_File::store()
 Horde_Kolab_FreeBusy_Cache_File::_maketree()

Documentation generated on Sun, 10 Oct 2010 05:15:46 +0000 by phpDocumentor 1.4.3