Changeset 7986
- Timestamp:
- 06/30/10 20:03:23 (2 years ago)
- File:
-
- 1 edited
-
trunk/core/lib/Foswiki/Meta.pm (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/lib/Foswiki/Meta.pm
r7823 r7986 28 28 Unloaded objects return undef from =getLoadedRev=, or the loaded revision 29 29 otherwise. =reload= allows you to load different revisions of the same 30 topic , or30 topic. 31 31 32 32 An unloaded object can be populated through calls to =text($text)=, =put= … … 110 110 our $EMBEDDING_FORMAT_VERSION = 1.1; 111 111 112 # defaults for trunc tation of summary text112 # defaults for truncation of summary text 113 113 our $SUMMARY_TMLTRUNC = 162; 114 114 our $SUMMARY_MINTRUNC = 16; … … 455 455 ---++ ObjectMethod fireDependency() -> $this 456 456 457 Invalidates the cache bucke dof the current meta object457 Invalidates the cache bucket of the current meta object 458 458 within the Foswiki::PageCache. See Foswiki::PageCache::fireDependency(). 459 459 … … 484 484 #SMELL: there seems to be no reason to call this method 'NewWeb', it can be used to copy into an existing web 485 485 and it does not appear to be unexpectedly destructive. 486 perhaps refactor into something that takes a resultset as an input list? (users have as ed to be able to copy a SEARCH'd set of topics..)486 perhaps refactor into something that takes a resultset as an input list? (users have asked to be able to copy a SEARCH'd set of topics..) 487 487 488 488 =cut … … 577 577 The =\%options= hash may contain the following options: 578 578 * =type= - if =regex= will perform a egrep-syntax RE search (default '') 579 * =casesensitive= - false to ignore case (defaul kt true)579 * =casesensitive= - false to ignore case (default true) 580 580 * =files_without_match= - true to return files only (default false) 581 581 … … 943 943 944 944 Find the value of a meta-datum in the map. If the type is 945 keyed (iden itifed by a =name=), the =$key= parameter is required945 keyed (identified by a =name=), the =$key= parameter is required 946 946 to say _which_ entry you want. Otherwise you will just get the first value. 947 947 … … 1070 1070 If $type is undef, will copy ALL TYPES. 1071 1071 1072 If $nameFilter is defined (a perl re fular expression), it will copy1072 If $nameFilter is defined (a perl regular expression), it will copy 1073 1073 only data where ={name}= matches $nameFilter. 1074 1074 … … 1269 1269 * We don't merge for field attributes or title 1270 1270 * Topic info is not touched 1271 * The =mergeable= method on the form def is used to determine if that field s is mergeable. if it isn't, the value currently in meta will _not_ be changed.1271 * The =mergeable= method on the form def is used to determine if that field is mergeable. If it isn't, the value currently in meta will _not_ be changed. 1272 1272 1273 1273 =cut
Note: See TracChangeset
for help on using the changeset viewer.
