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

Class: CacheToPEARDB_Strategy

Source Location: /CacheToPEARDB_Strategy.php

Class Overview


Caches the generated image in a database


Author(s):

Variables

Methods



Class Details

[line 29]
Caches the generated image in a database

Advice: For feasible caching of large images use MEDIUMBLOB and LONGBLOB instead of BLOB for column "Field_ImageData" to avoid errors




Tags:

license:  GNU Public License
uses:  PEAR - DB Abstraction Layer http://pear.php.net
author:  Tsiavos Chris <jaames@freemail.gr>


[ Top ]


Class Variables

$DB_Host =

[line 38]



Tags:

access:  private

Type:   mixed


[ Top ]

$DB_Name =

[line 39]



Tags:

access:  private

Type:   mixed


[ Top ]

$DB_Passwd =

[line 37]



Tags:

access:  private

Type:   mixed


[ Top ]

$DB_Table =

[line 40]



Tags:

access:  private

Type:   mixed


[ Top ]

$DB_Type =

[line 35]



Tags:

access:  private

Type:   mixed


[ Top ]

$DB_Username =

[line 36]



Tags:

access:  private

Type:   mixed


[ Top ]

$Field_ImageData =

[line 43]



Tags:

access:  private

Type:   mixed


[ Top ]

$Field_ImageModification =

[line 44]



Tags:

access:  private

Type:   mixed


[ Top ]

$Field_ImageName =

[line 42]



Tags:

access:  private

Type:   mixed


[ Top ]

$PEAR_DB =

[line 31]



Tags:

access:  private

Type:   mixed


[ Top ]

$RecordExists =

[line 33]



Tags:

access:  private

Type:   mixed


[ Top ]



Class Methods


method CacheImage [line 104]

void CacheImage( )



Tags:

access:  public


[ Top ]

method Initialize [line 58]

void Initialize( mixed $CacheImageType, mixed $CacheForMinutes, string[assoc] $Params)

Initializes the strategy object.



Tags:

access:  public


Parameters:

string[assoc]   $Params   $Params["DB_Type"]
$Params["DB_Username"]
$Params["DB_Passwd"]
$Params["DB_Host"]
$Params["DB_Name"]
$Params["DB_Table"]

$Params["Field_ImageName"]
$Params["Field_ImageData"]
$Params["Field_ImageModification"]

[ Top ]


Documentation generated on Sun, 3 Oct 2004 14:58:52 +0300 by phpDocumentor 1.3.0RC3