Wicked_Driver_sqlWicked storage implementation for PHP's PEAR database abstraction layer.
Required values for $params:
'phptype' The database type (e.g. 'pgsql', 'mysql', etc.).
'hostspec' The hostname of the database server.
'protocol' The communication protocol ('tcp', 'unix', etc.).
'username' The username with which to connect to the database.
'password' The password associated with 'username'.
'database' The name of the database.
'table' The name of the tasks table in 'database'.
'charset' The database's internal charset.Required by some database implementations:
'options' Additional options to pass to the database.
'tty' The TTY on which to connect to the database.
'port' The port on which to connect to the database.The table structure can be created by the scripts/drivers/wicked_foo.sql script.
Located in /lib/Driver/sql.php (line 37)
Wicked_Driver | --Wicked_Driver_sql
DB
$_db
(line 44)
Handle for the current database connection.
Inherited from Wicked_Driver
Wicked_Driver::$_params
Wicked_Driver::$_vfs
Constructor Wicked_Driver_sql (line 51)
Constructs a new Wicked SQL driver object.
connect (line 983)
Attempts to open a persistent connection to the SQL server.
getAttachedFiles (line 330)
Retrieves data on files attached to a page.
getBackLinks (line 218)
getCharset (line 949)
Returns the charset used by the backend.
getHistory (line 120)
getLikePages (line 274)
getMatchingPages (line 249)
getPages (line 738)
getRecentChanges (line 135)
Returns the most recently changed pages.
leastPopular (line 171)
Returns the least popular pages.
logPageView (line 551)
Log a hit to $pagename.
mostPopular (line 159)
Returns the most popular pages.
newPage (line 571)
Creates a new page.
removeAllAttachments (line 429)
Removes all attachments from $pageId. Calls parent::removeAllAttachments() to delete files from VFS.
removeAllVersions (line 850)
removeAttachment (line 380)
Remove a single version or all versions of an attachment from $pageId. Calls parent::removeAttachment() to delete files from VFS.
removeVersion (line 763)
renamePage (line 635)
Rename a page (and keep the page's history).
retrieveByName (line 63)
Retrieves the page of a particular name from the database.
retrieveHistory (line 88)
Retrieves a historic version of a page.
searchText (line 194)
Finds pages with matches in text or title.
searchTitles (line 176)
updateText (line 675)
_attachFile (line 474)
Handles the driver-specific portion of attaching a file.
Wicked_Driver::attachFile() calls down to this method for the driver- specific portion, and then uses VFS to store the attachment.
_convertFromDriver (line 961)
Converts a value from the driver's charset to the default charset.
_convertToDriver (line 973)
Converts a value from the default charset to the driver's charset.
_getAttachedFiles_usort (line 354)
Inherited From Wicked_Driver
Wicked_Driver::Wicked_Driver()
Wicked_Driver::attachFile()
Wicked_Driver::factory()
Wicked_Driver::getAllPages()
Wicked_Driver::getAttachedFiles()
Wicked_Driver::getAttachmentContents()
Wicked_Driver::getBackLinks()
Wicked_Driver::getCharset()
Wicked_Driver::getHistory()
Wicked_Driver::getLikePages()
Wicked_Driver::getPage()
Wicked_Driver::getPageById()
Wicked_Driver::getPageId()
Wicked_Driver::getPages()
Wicked_Driver::getRecentChanges()
Wicked_Driver::getSpecialPages()
Wicked_Driver::getVFS()
Wicked_Driver::leastPopular()
Wicked_Driver::logPageView()
Wicked_Driver::mostPopular()
Wicked_Driver::newPage()
Wicked_Driver::pageExists()
Wicked_Driver::removeAllAttachments()
Wicked_Driver::removeAllVersions()
Wicked_Driver::removeAttachment()
Wicked_Driver::removeVersion()
Wicked_Driver::renamePage()
Wicked_Driver::retrieveByName()
Wicked_Driver::retrieveHistory()
Wicked_Driver::searchText()
Wicked_Driver::searchTitles()
Wicked_Driver::updateText()
Wicked_Driver::_attachFile()
Documentation generated on Sun, 30 Jan 2011 05:42:57 +0000 by phpDocumentor 1.4.3