Class FTCache_Container_CSV

(line 319)

Description

FTCache_Container
   |
   --FTCache_Container_CSV

Located in File: /FTCache.php

Implements a cache stored in an index flat file (csv format)


Class Variables

Summary:

Class Constants

Summary:

Method Detail

Summary:
FTCache_Container_CSV __construct (int $size, [string $filename = 'cache'], [ $clear = true])
string get (int $index)
void set (int $index, string $data)

Constructor __construct (line 333)

FTCache_Container_CSV __construct( int $size, [string $filename = 'cache'], [ $clear = true])

Overrides : FTCache_Container::__construct() Sets the size of the cache

Instantiate, set the size, and open the file for editting

Parameters

  • int $size: Size of the cache in rows
  • string $filename:
  • $clear:

Info

  • access - public

Method get (line 373)

string get( int $index)

Overrides : FTCache_Container::get() Retrieve the string of stored data at the given cache index

Retrieve the string of stored data at the given cache index

Parameters

  • int $index: Cache index

Info

  • return - Data stored there. False if no data stored there.
  • access - public

Method set (line 414)

void set( int $index, string $data)

Overrides : FTCache_Container::set() Sets the cache entry with the given index to contain the given data

Sets the cache entry with the given index to contain the given data

Parameters

  • int $index: Cache index
  • string $data: Data to store there

Info

  • access - public

Inherited Variables

Inherited Class Variable Summary

Inherited From Class FTCache_Container

FTCache_Container::$_size - Size of the schema

Inherited Methods

Inherited Method Summary

Inherited From Class FTCache_Container

FTCache_Container::__construct() - Sets the size of the cache

FTCache_Container::get() - Retrieve the string of stored data at the given cache index

FTCache_Container::set() - Sets the cache entry with the given index to contain the given data



Documentation generated on Sat, 01 Mar 2008 03:16:45 +0000 by phpDocumentor 1.4.0