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 id, 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 |
tmpFilename |
Pathname of the server file the stream is attached to. Required if stream is set. |
$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.
operation - set to the name of the operation performing the save. This is used only in the log, and is normally cmd or save. It defaults to save.
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"
$time and now. $time is a time in seconds since 1st Jan 1970, and is not
guaranteed to return any changes that occurred before (now -
{Store}{RememberChangesFor}). Changes are returned in most-recent-first
order.
$web - Web name, required, e.g. 'Sandbox'
( 'WebChanges', 'WebHome', 'WebIndex', 'WebNotify' )
$web is not specified or null, top level webs are returned.
If the site allows hiearchical webs ({EnableHierarchicalWebs} is true),
subwebs, subsubwebs, ... are also returned.
If $web is specified and non-null, the subwebs of it are returned assuming
hiearchical webs are allowed.
The returned webs are filtered according to the spec in the $filter,
which may include one of: $filter may also contain the following words to further filter webs. $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 |
format |
string for custom formatting results |
$query must be a TWiki::Query object.
Returns a reference to a hash that maps the names of topics that all matched
to the result of the query expression (e.g. if the query expression is
'TOPICPARENT.name' then you will get back a hash that maps topic names
to their parent.
$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.
|
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiStoreDotPm. |