Class SimplePie_Cache_MySQL
Caches data to a MySQL database
Registered for URLs with the "mysql" protocol
For example,
mysql://root:password@localhost:3306/mydb?prefix=sp_
will connect
to the mydb
database on localhost
on port 3306, with
the user root
and the password password
. All tables
will be prefixed with sp_
- SimplePie_Cache_DB implements SimplePie_Cache_Base
- SimplePie_Cache_MySQL
Package: SimplePie\Caching
Copyright: 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue
License: BSD License
Author: Ryan Parman
Author: Geoffrey Sneddon
Author: Ryan McCue
Located at SimplePie/Cache/MySQL.php
Copyright: 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue
License: BSD License
Author: Ryan Parman
Author: Geoffrey Sneddon
Author: Ryan McCue
Located at SimplePie/Cache/MySQL.php
public
|
#
__construct( string $location, string $name, string $type )
Create a new cache object Parameters
Implementation of |
public
boolean
|
|
public
array
|
|
public
integer
|
|
public
boolean
|
|
public
boolean
|
prepare_simplepie_object_for_cache()
|
TYPE_FEED,
TYPE_IMAGE
|
protected
PDO
|
$mysql |
|
#
PDO instance |
protected
array
|
$options |
|
#
Options |
protected
string
|
$id |
|
#
Cache ID |