|
Note: all plugins have an automatically generated context identifier
if they are installed and initialised. For example, if the FirstPlugin is |
|
< < | working, the context ID 'FirstPlugin' will be set. |
> > | working, the context ID 'FirstPluginEnabled' will be set. |
|
Since: TWiki::Plugins::VERSION 1.1 |
| Example:
# read topic: |
|
< < | my( $topicMeta, $topicText ) = TWiki::Func::readTopic( $web, $topic ) |
> > | my( $topicMeta, $topicText ) = TWiki::Func::readTopic( $web, $topic ); |
| # example to change topic text:
$topicText =~ s/APPLE/ORANGE/g;
# example to change TWiki form field: |
|
-
%URLPARAM{...}% - Parameters to the current CGI query
-
%NOP% No-op
|
|
< < | See also: expandVariables |
> > | See also: expandCommonVariables |
|
|
|
Format the time in seconds into the desired time string
-
$time - Time in epoc seconds
|
|
< < |
-
$format - Format type, optional. Default e.g. '2013-12-31 - 19:30' . Can be '$iso' (e.g. '2013-12-31T19:30Z' ), '$rcs' (e.g. '2013/12/31 23:59:59' , '$http' for HTTP header format (e.g. 'The, 2013-07-23 07:21:56 GMT' ), or any string with tokens '$seconds, $minutes, $hours, $day, $wday, $month, $mo, $year, $ye, $tz' for seconds, minutes, hours, day of month, day of week, 3 letter month, 2 digit month, 4 digit year, 2 digit year, timezone string, respectively
|
> > |
-
$format - Format type, optional. Default e.g. '2014-12-31 - 19:30' . Can be '$iso' (e.g. '2014-12-31T19:30Z' ), '$rcs' (e.g. '2014/12/31 23:59:59' , '$http' for HTTP header format (e.g. 'The, 2014-07-23 07:21:56 GMT' ), or any string with tokens '$seconds, $minutes, $hours, $day, $wday, $month, $mo, $year, $ye, $tz' for seconds, minutes, hours, day of month, day of week, 3 letter month, 2 digit month, 4 digit year, 2 digit year, timezone string, respectively
|
|
-
$timezone - either not defined (uses the displaytime setting), 'gmtime', or 'servertime'
Return: $text Formatted time string |