Ignore:
Timestamp:
11/28/08 13:33:03 (3 years ago)
Author:
CrawfordCurrie
Message:

Item175: Added Foswiki::Time to published APIs and deprecated the duplicates in Foswiki::Func, cleaned up versioning of published APIs and added VERSION to each. Item295: changed =pod to =begin TML

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/lib/Foswiki.pm

    r1039 r1041  
    22package Foswiki; 
    33 
    4 =pod 
     4=begin TML 
    55 
    66---+ package Foswiki 
     
    9393$TranslationToken = "\0"; 
    9494 
    95 =pod 
     95=begin TML 
    9696 
    9797---++ StaticMethod getLibDir() -> $path 
     
    526526} 
    527527 
    528 =pod 
     528=begin TML 
    529529 
    530530---++ ObjectMethod UTF82SiteCharSet( $utf8 ) -> $ascii 
     
    626626} 
    627627 
    628 =pod 
     628=begin TML 
    629629 
    630630---++ ObjectMethod writeCompletePage( $text, $pageType, $contentType ) 
     
    673673} 
    674674 
    675 =pod 
     675=begin TML 
    676676 
    677677---++ ObjectMethod generateHTTPHeaders( $query, $pageType, $contentType ) -> $header 
     
    749749} 
    750750 
    751 =pod 
     751=begin TML 
    752752 
    753753---++ StaticMethod isRedirectSafe($redirect) => $ok 
     
    813813} 
    814814 
    815 =pod 
     815=begin TML 
    816816 
    817817---++ ObjectMethod redirect( $url, $passthrough, $action_redirectto ) 
     
    923923} 
    924924 
    925 =pod 
     925=begin TML 
    926926 
    927927---++ ObjectMethod cacheQuery() -> $queryString 
     
    963963} 
    964964 
    965 =pod 
     965=begin TML 
    966966 
    967967---++ StaticMethod isValidWikiWord( $name ) -> $boolean 
     
    976976} 
    977977 
    978 =pod 
     978=begin TML 
    979979 
    980980---++ StaticMethod isValidTopicName( $name ) -> $boolean 
     
    990990} 
    991991 
    992 =pod 
     992=begin TML 
    993993 
    994994---++ StaticMethod isValidAbbrev( $name ) -> $boolean 
     
    10031003} 
    10041004 
    1005 =pod 
     1005=begin TML 
    10061006 
    10071007---++ StaticMethod isValidWebName( $name, $system ) -> $boolean 
     
    10231023} 
    10241024 
    1025 =pod 
     1025=begin TML 
    10261026 
    10271027---++ ObjectMethod readOnlyMirrorWeb( $theWeb ) -> ( $mirrorSiteName, $mirrorViewURL, $mirrorLink, $mirrorNote ) 
     
    10651065} 
    10661066 
    1067 =pod 
     1067=begin TML 
    10681068 
    10691069---++ ObjectMethod getSkin () -> $string 
     
    10941094} 
    10951095 
    1096 =pod 
     1096=begin TML 
    10971097 
    10981098---++ ObjectMethod getScriptUrl( $absolute, $script, $web, $topic, ... ) -> $scriptURL 
     
    11871187} 
    11881188 
    1189 =pod 
     1189=begin TML 
    11901190 
    11911191---++ ObjectMethod getPubUrl($absolute, $web, $topic, $attachment) -> $url 
     
    12371237} 
    12381238 
    1239 =pod 
     1239=begin TML 
    12401240 
    12411241---++ ObjectMethod getIconUrl( $absolute, $iconName ) -> $iconURL 
     
    12591259} 
    12601260 
    1261 =pod 
     1261=begin TML 
    12621262 
    12631263---++ ObjectMethod mapToIconFileName( $fileName, $default ) -> $fileName 
     
    12981298} 
    12991299 
    1300 =pod 
     1300=begin TML 
    13011301 
    13021302---++ ObjectMethod normalizeWebTopicName( $theWeb, $theTopic ) -> ( $theWeb, $theTopic ) 
     
    13341334} 
    13351335 
    1336 =pod 
     1336=begin TML 
    13371337 
    13381338---++ ClassMethod new( $loginName, $query, \%initialContext ) 
     
    17541754} 
    17551755 
    1756 =pod 
     1756=begin TML 
    17571757 
    17581758---++ ObjectMethod writeLog( $action, $webTopic, $extra, $user ) 
     
    17951795} 
    17961796 
    1797 =pod 
     1797=begin TML 
    17981798 
    17991799---++ ObjectMethod writeWarning( $text ) 
     
    18101810} 
    18111811 
    1812 =pod 
     1812=begin TML 
    18131813 
    18141814---++ ObjectMethod writeDebug( $text ) 
     
    19621962} 
    19631963 
    1964 =pod 
     1964=begin TML 
    19651965 
    19661966---++ StaticMethod applyPatternToIncludedText( $text, $pattern ) -> $text 
     
    22692269} 
    22702270 
    2271 =pod 
     2271=begin TML 
    22722272 
    22732273---++ ObjectMethod inlineAlert($template, $def, ... ) -> $string 
     
    23142314} 
    23152315 
    2316 =pod 
     2316=begin TML 
    23172317 
    23182318---++ StaticMethod parseSections($text) -> ($string,$sectionlistref) 
     
    24212421} 
    24222422 
    2423 =pod 
     2423=begin TML 
    24242424 
    24252425---++ ObjectMethod expandVariablesOnTopicCreation ( $text, $user, $web, $topic ) -> $text 
     
    25202520} 
    25212521 
    2522 =pod 
     2522=begin TML 
    25232523 
    25242524---++ StaticMethod entityEncode( $text, $extras ) -> $encodedText 
     
    25652565} 
    25662566 
    2567 =pod 
     2567=begin TML 
    25682568 
    25692569---++ StaticMethod entityDecode ( $encodedText ) -> $text 
     
    25812581} 
    25822582 
    2583 =pod 
     2583=begin TML 
    25842584 
    25852585---++ StaticMethod urlEncodeAttachment ( $text ) 
     
    26292629} 
    26302630 
    2631 =pod 
     2631=begin TML 
    26322632 
    26332633---++ StaticMethod urlEncode( $string ) -> encoded string 
     
    26662666} 
    26672667 
    2668 =pod 
     2668=begin TML 
    26692669 
    26702670---++ StaticMethod urlDecode( $string ) -> decoded string 
     
    26822682} 
    26832683 
    2684 =pod 
     2684=begin TML 
    26852685 
    26862686---++ StaticMethod isTrue( $value, $default ) -> $boolean 
     
    27102710} 
    27112711 
    2712 =pod 
     2712=begin TML 
    27132713 
    27142714---++ StaticMethod spaceOutWikiWord( $word, $sep ) -> $string 
     
    27282728} 
    27292729 
    2730 =pod 
     2730=begin TML 
    27312731 
    27322732---++ ObjectMethod expandAllTags(\$text, $topic, $web, $meta) 
     
    29872987} 
    29882988 
    2989 =pod 
     2989=begin TML 
    29902990 
    29912991---++ ObjectMethod enterContext( $id, $val ) 
     
    30163016} 
    30173017 
    3018 =pod 
     3018=begin TML 
    30193019 
    30203020---++ ObjectMethod leaveContext( $id ) 
     
    30323032} 
    30333033 
    3034 =pod 
     3034=begin TML 
    30353035 
    30363036---++ ObjectMethod inContext( $id ) 
     
    30463046} 
    30473047 
    3048 =pod 
     3048=begin TML 
    30493049 
    30503050---++ StaticMethod registerTagHandler( $tag, $fnref ) 
     
    30643064} 
    30653065 
    3066 =pod= 
     3066=begin TML= 
    30673067 
    30683068---++ StaticMethod registerRESTHandler( $subject, $verb, \&fn ) 
     
    30933093} 
    30943094 
    3095 =pod 
     3095=begin TML 
    30963096 
    30973097---++ ObjectMethod handleCommonTags( $text, $web, $topic, $meta ) -> $text 
     
    31713171} 
    31723172 
    3173 =pod 
     3173=begin TML 
    31743174 
    31753175---++ ObjectMethod ADDTOHEAD( $args ) 
     
    32823282} 
    32833283 
    3284 =pod 
     3284=begin TML 
    32853285 
    32863286---+++ %<nop}RENDERHEAD% 
     
    32993299} 
    33003300 
    3301 =pod 
     3301=begin TML 
    33023302 
    33033303---++ StaticMethod initialize( $pathInfo, $remoteUser, $topic, $url, $query ) -> ($topicName, $webName, $scriptUrlPath, $userName, $dataDir) 
     
    33463346} 
    33473347 
    3348 =pod 
     3348=begin TML 
    33493349 
    33503350---++ StaticMethod readFile( $filename ) -> $text 
     
    33693369} 
    33703370 
    3371 =pod 
     3371=begin TML 
    33723372 
    33733373---++ StaticMethod expandStandardEscapes($str) -> $unescapedStr 
     
    45134513    local $/ = "\n"; 
    45144514    while ( my $line = <PMFILE> ) { 
    4515         if ( $line =~ /^=(begin|pod)/ ) { 
     4515        if ( $line =~ /^=(begin (twiki|TML|html)|pod)/ ) { 
    45164516            $inPod = 1; 
    45174517        } 
Note: See TracChangeset for help on using the changeset viewer.