Wicked 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
Handle for the current database connection.
Inherited from Wicked_Driver
Wicked_Driver::$_params
Wicked_Driver::$_vfs
Constructs a new Wicked SQL driver object.
Attempts to open a persistent connection to the SQL server.
Retrieves data on files attached to a page.
Returns the charset used by the backend.
Returns the most recently changed pages.
Returns the least popular pages.
Log a hit to $pagename.
Returns the most popular pages.
Creates a new page.
Removes all attachments from $pageId. Calls parent::removeAllAttachments() to delete files from VFS.
Remove a single version or all versions of an attachment from $pageId. Calls parent::removeAttachment() to delete files from VFS.
Rename a page (and keep the page's history).
Retrieves the page of a particular name from the database.
Retrieves a historic version of a page.
Finds pages with matches in text or title.
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.
Converts a value from the driver's charset to the default charset.
Converts a value from the default charset to the driver's charset.
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