Show
Ignore:
Timestamp:
05/10/08 17:34:11 (4 years ago)
Author:
dom
Message:

whitespace-only change to fix some POD bugs and generally make things read
more nicely. Tab-damage fixing still todo...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • wiki-toolkit/trunk/lib/Wiki/Toolkit/Store/Database.pm

    r423 r424  
    2424  $CAN_USE_ENCODE = $@ ? 0 : 1; 
    2525} 
    26  
    2726 
    2827=head1 NAME 
     
    143142        } 
    144143} 
    145  
    146144 
    147145=item B<retrieve_node> 
     
    680678Uses the internal_links table to identify the nodes that link to this 
    681679one, and re-writes any wiki links in these to point to the new name. 
    682 =cut 
     680 
     681=cut 
     682 
    683683sub rename_node { 
    684684    my ($self, %args) = @_; 
     
    827827highest moderated version, then update the node's contents to hold 
    828828this version. 
     829 
    829830=cut 
    830831 
     
    928929 
    929930Sets if new node versions will require moderation or not 
     931 
    930932=cut 
    931933 
     
    17001702      metadata_type  => "latitude" 
    17011703  ); 
    1702 =cut 
     1704 
     1705=cut 
     1706 
    17031707sub list_nodes_by_missing_metadata { 
    17041708    my ($self, %args) = @_; 
     
    17461750 
    17471751=item B<_get_list_by_metadata_sql> 
     1752 
    17481753Return the SQL to do a match by metadata. Should expect the metadata type 
    17491754as the first SQL parameter, and the metadata value as the second. 
    17501755 
    17511756If possible, should take account of $args{ignore_case} 
    1752 =cut 
     1757 
     1758=cut 
     1759 
    17531760sub _get_list_by_metadata_sql { 
    17541761        # SQL 99 version 
     
    17751782 
    17761783=item B<_get_list_by_missing_metadata_sql> 
     1784 
    17771785Return the SQL to do a match by missing metadata. Should expect the metadata  
    17781786type as the first SQL parameter. 
    17791787 
    17801788If possible, should take account of $args{ignore_case} 
    1781 =cut 
     1789 
     1790=cut 
     1791 
    17821792sub _get_list_by_missing_metadata_sql { 
    17831793        # SQL 99 version 
     
    18891899 
    18901900=item B<list_last_version_before> 
    1891         List the last version of every node before a given date. 
    1892         If no version existed before that date, will return undef for version. 
    1893         Returns a hash of id, name, version and date 
    1894  
    1895         my @nv = $wiki->list_last_version_before('2007-01-02 10:34:11') 
    1896         foreach my $data (@nv) { 
    1897                  
    1898         } 
    1899 =cut 
     1901 
     1902    List the last version of every node before a given date. 
     1903    If no version existed before that date, will return undef for version. 
     1904    Returns a hash of id, name, version and date 
     1905 
     1906    my @nv = $wiki->list_last_version_before('2007-01-02 10:34:11') 
     1907    foreach my $data (@nv) { 
     1908         
     1909    } 
     1910 
     1911=cut 
     1912 
    19001913sub list_last_version_before { 
    19011914        my ($self, $date) = @_; 
     
    19311944 
    19321945=item B<list_metadata_by_type> 
    1933         List all the currently defined values of the given type of metadata. 
    1934  
    1935         Will only work with the latest moderated version 
    1936  
    1937         # List all of the different metadata values with the type 'category' 
    1938         my @categories = $wiki->list_metadata_by_type('category'); 
    1939 =cut 
     1946 
     1947    List all the currently defined values of the given type of metadata. 
     1948 
     1949    Will only work with the latest moderated version 
     1950 
     1951    # List all of the different metadata values with the type 'category' 
     1952    my @categories = $wiki->list_metadata_by_type('category'); 
     1953 
     1954=cut 
     1955 
    19401956sub list_metadata_by_type { 
    19411957        my ($self, $type) = @_;