TWiki::Store $user - the user doing the reading, or undef if no access checks
$web - The web
$topic - The topic
$attName - Name of the attachment
$user - the user object, or undef to suppress access control checks
$web - the web
$topic - the topic
$rev1 Integer revision number
$rev2 Integer revision number
$contextLines - number of lines of context required
$web Web name, optional, e.g. 'Main'
$topic Topic name, required, e.g. 'TokyoOffice'
$rev revision number. If 0, undef, or out-of-range, will get info about the most recent revision.
$attachment attachment filename; undef for a topic
| $date | in epochSec |
| $user | user object |
| $rev | the revision number |
| $comment | WHAT COMMENT? |
$user - user doing the saving (object)
$web - web for topic
$topic - topic to atach to
$text - topic text
$meta - topic meta-data
$options - Ref to hash of options
$options may include:
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 |
$user - user doing the saving
$web - web for topic
$topic - topic to atach to
$attachment - name of the attachment
$opts - Ref to hash of options
$opts may include:
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 |
$options - as for saveTopic, with the extra option: timetravel - if we want to force the deposited revision to look as much like the revision specified in $rev as possible.
getLease)
getLease)
$web - Web name, required, e.g. 'Sandbox'
$web - Web name, optional, e.g. 'Main'
$topic - Topic name, required, e.g. 'TokyoOffice', or "Main.TokyoOffice"
$web - Web name, required, e.g. 'Sandbox'
( 'WebChanges', 'WebHome', 'WebIndex', 'WebNotify' )
$user - user doing the removing (for the history)
$web - web being removed
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 |
$searchString - the search string, in egrep format if regex
$web - The web to search in
\@topics - reference to a list of topics to search
\%options - reference to an options hash
\%options hash may contain the following options: type - if regex will perform a egrep-syntax RE search (default '')
casesensitive - false to ignore case (defaulkt true)
files_without_match - true to return files only (default false)
files_without_match is specified, it will
return on the first match in each topic (i.e. it will return only one
match per topic, and will not return matching lines).
$web - web for topic
$topic - topic
$time - time (in epoch secs) for the rev
$web - web for topic
$topic - topic
user, taken and expires).
Leases are taken out when a topic is edited. Only one lease
can be active on a topic at a time. Leases are used to warn if
another user is already editing a topic.
getLease for more details about Leases.
getLease for more details about Leases.
| Topic TWikiStoreDotPm . { Edit | Attach | Backlinks: Web All webs | Printable | History: r1 More } |
|
Ideas, requests, problems regarding TWiki? Send feedback Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiStoreDotPm |