Class Horde_Kolab_FreeBusy_Cache_File_xacl

Description

A cache file for extended 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/xacl.php,v 1.1.2.2 2010/06/15 12:00:34 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/xacl.php (line 36)

Horde_Kolab_FreeBusy_Cache_File
   |
   --Horde_Kolab_FreeBusy_Cache_File_xacl
Variable Summary
Method Summary
 Horde_Kolab_FreeBusy_Cache_File_xacl Horde_Kolab_FreeBusy_Cache_File_xacl (string $cache_dir)
 boolean|PEAR_Error purge (string $filename)
 boolean|PEAR_Error storeXACL (string $filename,  &$xacl,  &$acl, array $xacl, array $acl)
Variables
string $_suffix = 'xacl' (line 43)

The suffix of this cache file.


Redefinition of:
Horde_Kolab_FreeBusy_Cache_File::$_suffix
The suffix of this cache file.
Horde_Kolab_FreeBusy_Cache_DB $_xacls (line 50)

Link to the ACL stored in a data base.

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_xacl (line 57)

Construct the Horde_Kolab_FreeBusy_Cache_File_xacl instance.

Horde_Kolab_FreeBusy_Cache_File_xacl Horde_Kolab_FreeBusy_Cache_File_xacl (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.
storeXACL (line 96)

Store a new extended ACL.

  • return: True if successful.
boolean|PEAR_Error storeXACL (string $filename,  &$xacl,  &$acl, array $xacl, array $acl)
  • string $filename: The file name of the cache file.
  • array $xacl: The new extended ACL.
  • array $acl: General ACL for the folder.
  • &$xacl
  • &$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:23:47 +0000 by phpDocumentor 1.4.3