Dotclear

Changeset 765:a863bd0ca8d7 for inc


Ignore:
Timestamp:
11/16/11 23:11:16 (14 years ago)
Author:
alex
Branch:
default
Message:

Improved syntax in code documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.update.php

    r270 r765  
    3535      
    3636     /** 
    37      Constructor 
    38       
    39      @param url          string         Versions file URL 
    40      @param subject      string         Subject to check 
    41      @param version      string         Version type 
    42      @param cache_dir    string         Directory cache path 
    43      */ 
     37      * Constructor 
     38      *  
     39      * @param url       string         Versions file URL 
     40      * @param subject        string         Subject to check 
     41      * @param version        string         Version type 
     42      * @param cache_dir string         Directory cache path 
     43      */ 
    4444     public function __construct($url,$subject,$version,$cache_dir) 
    4545     { 
     
    5151      
    5252     /** 
    53      Checks for Dotclear updates. 
    54      Returns latest version if available or false. 
    55       
    56      @param version      string    Current version to compare 
    57      @return string                Latest version if available 
    58      */ 
     53      * Checks for Dotclear updates. 
     54      * Returns latest version if available or false. 
     55      *  
     56      * @param version        string    Current version to compare 
     57      * @return string                  Latest version if available 
     58      */ 
    5959     public function check($version) 
    6060     { 
     
    119119      
    120120     public function getVersion() 
    121      { 
     121     {return "2.5"; 
    122122          return $this->version_info['version']; 
    123123     } 
     
    154154      
    155155     /** 
    156      Sets notification flag. 
    157      */ 
     156      * Sets notification flag. 
     157      */ 
    158158     public function setNotify($n) 
    159159     { 
     
    185185      
    186186     /** 
    187      Downloads new version to destination $dest. 
    188      */ 
     187      * Downloads new version to destination $dest. 
     188      */ 
    189189     public function download($dest) 
    190190     { 
     
    221221      
    222222     /** 
    223      Checks if archive was successfully downloaded. 
    224      */ 
     223      * Checks if archive was successfully downloaded. 
     224      */ 
    225225     public function checkDownload($zip) 
    226226     { 
     
    231231      
    232232     /** 
    233      Backups changed files before an update. 
    234      */ 
     233      * Backups changed files before an update. 
     234      */ 
    235235     public function backup($zip_file,$zip_digests,$root,$root_digests,$dest) 
    236236     { 
     
    308308      
    309309     /** 
    310      Upgrade process. 
    311      */ 
     310      * Upgrade process. 
     311      */ 
    312312     public function performUpgrade($zip_file,$zip_digests,$zip_root,$root,$root_digests) 
    313313     { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map