class-Com.Tecnick.File.Cache

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

Class Cache

Com\Tecnick\Pdf\File\Cache

Namespace: Com\Tecnick\File
Package: File
Category: Library
Copyright: 2011-2016 Nicola Asuni - Tecnick.com LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni info@tecnick.com
Since: 2011-05-23
Link: https://github.com/tecnickcom/tc-lib-pdf-filecache
Located at Cache.php
Methods summary
public
# __construct( string $prefix = null )

Set the file prefix (common name)

public string
# getCachePath( )

Get the cache directory path

public
# setCachePath( string|null $path = null )

Set the default cache directory path

public string
# getFilePrefix( )

Get the file prefix

public string
# getNewFileName( string $type = 'tmp', string $key = '0' )

Returns a temporary filename for caching files

public
# delete( string $type = null, string $key = null )

Delete cached files

protected
# defineSystemCachePath( )

Set the K_PATH_CACHE constant (if not set) to the default system directory for temporary files

protected string
# normalizePath( string $path )

Normalize cache path

Properties summary
protected static string $path

Cache path

protected static string $prefix

File prefix

 

© 2004-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy