Class

HtaccessFileCache

Package: PHPBoost\Cache Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Benoit SAUTEL ben.popeye@phpboost.com Version: PHPBoost 5.2 - last update: 2019 03 16 Since: PHPBoost 3.0 - 2009 10 22 Contributor: Julien BRISWALTER j1.seth@phpboost.com Contributor: janus57 janus57@janus57.fr Contributor: mipel mipel@phpboost.com Located at: phpboost/cache/HtaccessFileCache.class.php

This class contains the cache data of the .htaccess file which is located at the root of the site and is used to change the Apache configuration only in the PHPBoost folder.

HtaccessFileCache implements CacheData
Methods summary
public
# synchronize( )

This method is called when the data needs to be sychronized. For instance,

public string
# get_htaccess_file_content( )

Returns the content of the .htaccess file

public static HtaccessFileCache
# load( )

Loads and returns the groups cached data.

public static
# invalidate( )

Invalidates the current groups cached data.

public static
# regenerate( )

Regenerates the .htaccess file