PhpIndex
[ class tree: PhpIndex ] [ index: PhpIndex ] [ all elements ]

Class: PhpIndex_Cache_File

Source Location: /Cache/File.php

Class Overview


Cache class using file system


Author(s):

  • Indiana Jones

Version:

  • 1.0

Copyright:

  • 2010 PhpIndex

Methods



Class Details

[line 19]
Cache class using file system

$Id: File.php 209 2011-02-21 19:05:38Z indy $

$LastChangedBy: indy $

$LastChangedDate: 2011-02-21 21:05:38 +0200 (Mon, 21 Feb 2011) $

$Rev: 209 $




Tags:

author:  Indiana Jones
version:  1.0
copyright:  2010 PhpIndex


[ Top ]


Class Methods


static method getInstance [line 58]

static PhpIndex_Cache_File getInstance( )

Returns an instance of this class.



Tags:

access:  public


[ Top ]

method get [line 73]

mixed get( string $key)

Get the value of a cached key



Tags:

access:  public


Parameters:

string   $key   Cache key

[ Top ]

method remove [line 148]

boolean remove( string $key)

Remove a cache file



Tags:

access:  public


Parameters:

string   $key   Cache key

[ Top ]

method set [line 116]

boolean set( string $key, mixed $data)

Set the cache content



Tags:

access:  public


Parameters:

string   $key   Cache key
mixed   $data   Data to store

[ Top ]


Documentation generated on Mon, 21 Feb 2011 21:14:13 +0200 by phpDocumentor 1.4.3