# Package =TWiki::Store This module hosts the generic storage backend. This module provides the interface layer between the "real" store provider - which is hidden behind a handler - and the rest of the system. it is responsible for checking for topic existance, access permissions, and all the other general admin tasks that are common to all store implementations. This module knows nothing about how the data is actually _stored_ - that knowledge is entirely encapsulated in the handlers. The general contract for methods in the class requires that errors are signalled using exceptions. TWiki::AccessControlException is used for access control exceptions, and Error::Simple for all other types of error.
$date | in epochSec |
$user | user object |
$rev | the revision number |
$comment | WHAT COMMENT? |
dontlog |
don't log this change in twiki log |
hide |
if the attachment is to be hidden in normal topic view |
comment |
comment for save |
file |
Temporary file name to upload |
minor |
True if this is a minor change (used in log) |
savecmd |
Save command |
forcedate |
grr |
unlock |
dontlog |
don't log this change in twiki log |
comment |
comment for save |
hide |
if the attachment is to be hidden in normal topic view |
stream |
Stream of file to upload |
file |
Name of a file to use for the attachment data. ignored is stream is set. |
filepath |
Client path to file |
filesize |
Size of uploaded data |
filedate |
Date |
tmpFilename |
Pathname of the server file the stream is attached to. Required if stream is set. |
type |
topicmoved , parent or field |
topic |
topic to search for, for topicmoved and parent |
name |
form field to search, for field type searches. May be a regex. |
value |
form field value. May be a regex. |
title |
Title prepended to the returned search results |
default |
defualt value if there are no results |
web |
web to search in, default is all webs |
format |
string for custom formatting results |