PEAR Manual
Prev |  | Next

# constructor Cache_Lite_File::Cache_Lite_File()

constructor Cache_Lite_File::Cache_Lite_File() -- Constructor

## Synopsis

    require_once 'Cache/Lite/File.php';

``void constructor Cache_Lite_File::Cache_Lite_File` (array $options)`

## Description

The constructor of the Cache_Lite_File class. You can give an associative array as an argument to set a lot of options.

## Parameter

array `$options`

  associative array to set a lot of options (see Cache_Lite constructor for details). Be carefull, with Cache_Lite_File, there is an additional "mandatory option" described on the following table.

Table 30-1.

Option | Data Type | Default Value | Description
--- | --- | --- | ---
[...] | [...] | [...] | See Cache_Lite constructor for more options
masterFile [REQUIRED] | string | '' | complete path of the file used for controlling the cache lifetime

## Note

This function can not be called statically.

Prev | Home | Next
Cache_Lite_Function::drop() | Up | Cache_Lite_File::get()