Wicked_DriverWicked_Driver:: defines an API for implementing storage backends for Wicked.
$Horde: wicked/lib/Driver.php,v 1.64.2.2 2009/11/13 13:15:22 jan Exp $
Copyright 2003-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
Located in /lib/Driver.php (line 30)
| Class | Description |
|---|---|
Wicked_Driver_sql
|
Wicked storage implementation for PHP's PEAR database abstraction layer. |
Constructor Wicked_Driver (line 51)
Constructs a new Wicked driver object.
attachFile (line 295)
Attaches a file to a page or update an attachment.
'page_id' => This is the id of the page to which we would
like to attach the file.
'attachment_name' => This is the filename of the attachment.
'minor' => This is a boolean which indicates whether this
is a minor version update.
'change_log' => A change log entry for this attach or update
operation. (Optional)
'change_author' => The user uploading this file. If not present,
the currently logged-in user is assumed.
factory (line 460)
Attempts to return a concrete Wicked_Driver instance based on $driver.
getAllPages (line 185)
getAttachedFiles (line 272)
Retrieves data on files attached to a page.
getAttachmentContents (line 407)
Retrieves the contents of an attachment.
getBackLinks (line 249)
getCharset (line 444)
Returns the charset used by the backend.
getHistory (line 190)
getLikePages (line 254)
getPage (line 142)
getPageById (line 147)
getPageId (line 132)
getPages (line 175)
getRecentChanges (line 202)
Returns the most recently changed pages.
getSpecialPages (line 152)
getVFS (line 59)
Accessor to manage a VFS instance.
leastPopular (line 230)
Returns the least popular pages.
logPageView (line 102)
Logs a hit to $pagename.
mostPopular (line 216)
Returns the most popular pages.
newPage (line 117)
Creates a new page.
pageExists (line 180)
removeAllAttachments (line 364)
Removes all attachments to $pageId from the VFS backend.
removeAllVersions (line 423)
removeAttachment (line 328)
Remove a single version or all versions of an attachment to $pageId from the VFS backend.
removeVersion (line 418)
renamePage (line 127)
retrieveByName (line 76)
Retrieves the page of a particular name from the database.
retrieveHistory (line 90)
Retrieves a historic version of a page.
searchText (line 244)
Finds pages with matches in text or title.
searchTitles (line 434)
updateText (line 122)
_attachFile (line 392)
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.
Documentation generated on Sun, 30 Jan 2011 05:42:55 +0000 by phpDocumentor 1.4.3