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

Class: Cache

Source Location: /cache.php

Class Overview


Cache


Author(s):

  • Alejandro Gervasio

Version:

  • 0.1.2

Variables

Methods



Class Details

[line 29]
Cache

Incomplete/Experimental needs adapting for dbscript

More info... http://dbscript.net/cache




Tags:

todo:  implement
version:  0.1.2
access:  public
author:  Alejandro Gervasio


[ Top ]


Class Variables

$cacheFile =

[line 34]


Type:   mixed


[ Top ]

$data =

[line 35]


Type:   mixed


[ Top ]

$expiry =

[line 33]


Type:   mixed


[ Top ]

$mysql =

[line 31]


Type:   mixed


[ Top ]

$result =

[line 32]


Type:   mixed


[ Top ]



Class Methods


constructor Cache [line 38]

Cache Cache( &$mysql, [ $expiry = 86400], [ $cacheFile = 'default_cache.txt'])



Parameters:

   &$mysql  
   $expiry  
   $cacheFile  

[ Top ]

method countRows [line 115]

void countRows( )



[ Top ]

method fetchAll [line 107]

void fetchAll( )



[ Top ]

method fetchRow [line 98]

void fetchRow( )



[ Top ]

method isValid [line 90]

void isValid( )



[ Top ]

method query [line 46]

void query( $query)



Parameters:

   $query  

[ Top ]

method read [line 82]

void read( )



[ Top ]

method write [line 62]

void write( )



[ Top ]


Documentation generated on Mon, 19 Feb 2007 10:24:41 -0800 by phpDocumentor 1.3.1