Changeset 1041 for trunk/core/lib/Foswiki.pm
- Timestamp:
- 11/28/08 13:33:03 (3 years ago)
- File:
-
- 1 edited
-
trunk/core/lib/Foswiki.pm (modified) (47 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/lib/Foswiki.pm
r1039 r1041 2 2 package Foswiki; 3 3 4 = pod4 =begin TML 5 5 6 6 ---+ package Foswiki … … 93 93 $TranslationToken = "\0"; 94 94 95 = pod95 =begin TML 96 96 97 97 ---++ StaticMethod getLibDir() -> $path … … 526 526 } 527 527 528 = pod528 =begin TML 529 529 530 530 ---++ ObjectMethod UTF82SiteCharSet( $utf8 ) -> $ascii … … 626 626 } 627 627 628 = pod628 =begin TML 629 629 630 630 ---++ ObjectMethod writeCompletePage( $text, $pageType, $contentType ) … … 673 673 } 674 674 675 = pod675 =begin TML 676 676 677 677 ---++ ObjectMethod generateHTTPHeaders( $query, $pageType, $contentType ) -> $header … … 749 749 } 750 750 751 = pod751 =begin TML 752 752 753 753 ---++ StaticMethod isRedirectSafe($redirect) => $ok … … 813 813 } 814 814 815 = pod815 =begin TML 816 816 817 817 ---++ ObjectMethod redirect( $url, $passthrough, $action_redirectto ) … … 923 923 } 924 924 925 = pod925 =begin TML 926 926 927 927 ---++ ObjectMethod cacheQuery() -> $queryString … … 963 963 } 964 964 965 = pod965 =begin TML 966 966 967 967 ---++ StaticMethod isValidWikiWord( $name ) -> $boolean … … 976 976 } 977 977 978 = pod978 =begin TML 979 979 980 980 ---++ StaticMethod isValidTopicName( $name ) -> $boolean … … 990 990 } 991 991 992 = pod992 =begin TML 993 993 994 994 ---++ StaticMethod isValidAbbrev( $name ) -> $boolean … … 1003 1003 } 1004 1004 1005 = pod1005 =begin TML 1006 1006 1007 1007 ---++ StaticMethod isValidWebName( $name, $system ) -> $boolean … … 1023 1023 } 1024 1024 1025 = pod1025 =begin TML 1026 1026 1027 1027 ---++ ObjectMethod readOnlyMirrorWeb( $theWeb ) -> ( $mirrorSiteName, $mirrorViewURL, $mirrorLink, $mirrorNote ) … … 1065 1065 } 1066 1066 1067 = pod1067 =begin TML 1068 1068 1069 1069 ---++ ObjectMethod getSkin () -> $string … … 1094 1094 } 1095 1095 1096 = pod1096 =begin TML 1097 1097 1098 1098 ---++ ObjectMethod getScriptUrl( $absolute, $script, $web, $topic, ... ) -> $scriptURL … … 1187 1187 } 1188 1188 1189 = pod1189 =begin TML 1190 1190 1191 1191 ---++ ObjectMethod getPubUrl($absolute, $web, $topic, $attachment) -> $url … … 1237 1237 } 1238 1238 1239 = pod1239 =begin TML 1240 1240 1241 1241 ---++ ObjectMethod getIconUrl( $absolute, $iconName ) -> $iconURL … … 1259 1259 } 1260 1260 1261 = pod1261 =begin TML 1262 1262 1263 1263 ---++ ObjectMethod mapToIconFileName( $fileName, $default ) -> $fileName … … 1298 1298 } 1299 1299 1300 = pod1300 =begin TML 1301 1301 1302 1302 ---++ ObjectMethod normalizeWebTopicName( $theWeb, $theTopic ) -> ( $theWeb, $theTopic ) … … 1334 1334 } 1335 1335 1336 = pod1336 =begin TML 1337 1337 1338 1338 ---++ ClassMethod new( $loginName, $query, \%initialContext ) … … 1754 1754 } 1755 1755 1756 = pod1756 =begin TML 1757 1757 1758 1758 ---++ ObjectMethod writeLog( $action, $webTopic, $extra, $user ) … … 1795 1795 } 1796 1796 1797 = pod1797 =begin TML 1798 1798 1799 1799 ---++ ObjectMethod writeWarning( $text ) … … 1810 1810 } 1811 1811 1812 = pod1812 =begin TML 1813 1813 1814 1814 ---++ ObjectMethod writeDebug( $text ) … … 1962 1962 } 1963 1963 1964 = pod1964 =begin TML 1965 1965 1966 1966 ---++ StaticMethod applyPatternToIncludedText( $text, $pattern ) -> $text … … 2269 2269 } 2270 2270 2271 = pod2271 =begin TML 2272 2272 2273 2273 ---++ ObjectMethod inlineAlert($template, $def, ... ) -> $string … … 2314 2314 } 2315 2315 2316 = pod2316 =begin TML 2317 2317 2318 2318 ---++ StaticMethod parseSections($text) -> ($string,$sectionlistref) … … 2421 2421 } 2422 2422 2423 = pod2423 =begin TML 2424 2424 2425 2425 ---++ ObjectMethod expandVariablesOnTopicCreation ( $text, $user, $web, $topic ) -> $text … … 2520 2520 } 2521 2521 2522 = pod2522 =begin TML 2523 2523 2524 2524 ---++ StaticMethod entityEncode( $text, $extras ) -> $encodedText … … 2565 2565 } 2566 2566 2567 = pod2567 =begin TML 2568 2568 2569 2569 ---++ StaticMethod entityDecode ( $encodedText ) -> $text … … 2581 2581 } 2582 2582 2583 = pod2583 =begin TML 2584 2584 2585 2585 ---++ StaticMethod urlEncodeAttachment ( $text ) … … 2629 2629 } 2630 2630 2631 = pod2631 =begin TML 2632 2632 2633 2633 ---++ StaticMethod urlEncode( $string ) -> encoded string … … 2666 2666 } 2667 2667 2668 = pod2668 =begin TML 2669 2669 2670 2670 ---++ StaticMethod urlDecode( $string ) -> decoded string … … 2682 2682 } 2683 2683 2684 = pod2684 =begin TML 2685 2685 2686 2686 ---++ StaticMethod isTrue( $value, $default ) -> $boolean … … 2710 2710 } 2711 2711 2712 = pod2712 =begin TML 2713 2713 2714 2714 ---++ StaticMethod spaceOutWikiWord( $word, $sep ) -> $string … … 2728 2728 } 2729 2729 2730 = pod2730 =begin TML 2731 2731 2732 2732 ---++ ObjectMethod expandAllTags(\$text, $topic, $web, $meta) … … 2987 2987 } 2988 2988 2989 = pod2989 =begin TML 2990 2990 2991 2991 ---++ ObjectMethod enterContext( $id, $val ) … … 3016 3016 } 3017 3017 3018 = pod3018 =begin TML 3019 3019 3020 3020 ---++ ObjectMethod leaveContext( $id ) … … 3032 3032 } 3033 3033 3034 = pod3034 =begin TML 3035 3035 3036 3036 ---++ ObjectMethod inContext( $id ) … … 3046 3046 } 3047 3047 3048 = pod3048 =begin TML 3049 3049 3050 3050 ---++ StaticMethod registerTagHandler( $tag, $fnref ) … … 3064 3064 } 3065 3065 3066 = pod=3066 =begin TML= 3067 3067 3068 3068 ---++ StaticMethod registerRESTHandler( $subject, $verb, \&fn ) … … 3093 3093 } 3094 3094 3095 = pod3095 =begin TML 3096 3096 3097 3097 ---++ ObjectMethod handleCommonTags( $text, $web, $topic, $meta ) -> $text … … 3171 3171 } 3172 3172 3173 = pod3173 =begin TML 3174 3174 3175 3175 ---++ ObjectMethod ADDTOHEAD( $args ) … … 3282 3282 } 3283 3283 3284 = pod3284 =begin TML 3285 3285 3286 3286 ---+++ %<nop}RENDERHEAD% … … 3299 3299 } 3300 3300 3301 = pod3301 =begin TML 3302 3302 3303 3303 ---++ StaticMethod initialize( $pathInfo, $remoteUser, $topic, $url, $query ) -> ($topicName, $webName, $scriptUrlPath, $userName, $dataDir) … … 3346 3346 } 3347 3347 3348 = pod3348 =begin TML 3349 3349 3350 3350 ---++ StaticMethod readFile( $filename ) -> $text … … 3369 3369 } 3370 3370 3371 = pod3371 =begin TML 3372 3372 3373 3373 ---++ StaticMethod expandStandardEscapes($str) -> $unescapedStr … … 4513 4513 local $/ = "\n"; 4514 4514 while ( my $line = <PMFILE> ) { 4515 if ( $line =~ /^=(begin |pod)/ ) {4515 if ( $line =~ /^=(begin (twiki|TML|html)|pod)/ ) { 4516 4516 $inPod = 1; 4517 4517 }
Note: See TracChangeset
for help on using the changeset viewer.
