Show
Ignore:
Timestamp:
11/01/2007 03:14:45 AM (13 months ago)
Author:
PugFish
Message:

Englishised some descriptions
Converted Validation to new comments

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/Ftp.php

    r931 r932  
    2020        /* 
    2121         * Method: __construct 
    22          *  Sets Preferences. Can be passed an array of config values 
     22         *  Sets Preferences. 
     23         * 
     24         * Parameters: 
     25         *  config - custom configuration 
    2326         */ 
    2427        public function __construct($config = array()) 
     
    3437        /* 
    3538         * Method: initialize 
    36          *  Initialize preferences 
    37          * 
    38          * Parameters: 
    39          *  config - config preferences 
     39         *  Initialize preferences. 
     40         * 
     41         * Parameters: 
     42         *  config - custom configuration 
    4043         */ 
    4144        public function initialize($config = array()) 
     
    5558        /* 
    5659         * Method: connect 
    57          *  Connect to the FTP 
     60         *  Connect to the FTP. 
    5861         * 
    5962         * Parameters: 
     
    99102        /* 
    100103         * Method: login 
    101          *  Login to the FTP 
     104         *  Login to the FTP. 
    102105         * 
    103106         * Returns: 
     
    111114        /* 
    112115         * Method: is_conn 
    113          *  Validates the connection ID 
     116         *  Validates the connection ID. 
    114117         * 
    115118         * Returns: 
     
    168171        /* 
    169172         * Method: mkdir 
    170          *  Create a directory 
     173         *  Create a directory. 
    171174         * 
    172175         * Parameters: 
     
    204207        /* 
    205208         * Method: upload 
    206          *  Upload a file to the server 
     209         *  Upload a file to the server. 
    207210         * 
    208211         * Parameters: 
     
    258261        /* 
    259262         * Method: rename 
    260          *  Rename (or move) a file 
     263         *  Rename (or move) a file. 
    261264         * 
    262265         * Parameters: 
     
    291294        /* 
    292295         * Method: move 
    293          *  Move a file 
     296         *  Move a file. 
    294297         * 
    295298         * Parameters: 
     
    307310        /* 
    308311         * Method: delete_file 
    309          *  Delete a file 
     312         *  Delete a file. 
    310313         * 
    311314         * Parameters: 
     
    336339        /* 
    337340         * Method: delete_dir 
    338          *  Delete a folder and recursively delete everything (including sub-folders) contained within it 
     341         *  Delete a folder and recursively delete everything (including sub-folders) contained within it. 
    339342         * 
    340343         * Parameters: 
     
    383386        /* 
    384387         * Method: chmod 
    385          *  Set file permissions 
     388         *  Set file permissions. 
    386389         * 
    387390         * Parameters: 
     
    423426        /* 
    424427         * Method: list_files 
    425          *  FTP List files in the specified directory 
     428         *  FTP List files in the specified directory. 
    426429         * 
    427430         * Parameters: 
     
    447450         *  This function recursively reads a folder and everything it contains (including 
    448451         *  sub-folders) and creates a mirror via FTP based on it.  Whatever the directory structure 
    449          *  of the original file path will be recreated on the server 
     452         *  of the original file path will be recreated on the server. 
    450453         * 
    451454         * Parameters: 
     
    496499        /* 
    497500         * Method: get_extension 
    498          *  Extract the file extension 
     501         *  Extract the file extension. 
    499502         * 
    500503         * Parameters: 
     
    517520        /* 
    518521         * Method: set_type 
    519          *  Returns the transfer mode for a file extension (ascii or binary) 
     522         *  Returns the transfer mode for a file extension (ascii or binary). 
    520523         * 
    521524         * Parameters: 
     
    549552        /* 
    550553         * Method: close 
    551          *  Close the connection 
     554         *  Close the connection. 
    552555         * 
    553556         * Returns: 
     
    564567        /* 
    565568         * Method: error 
    566          *  Display error message 
     569         *  Display error message. 
    567570         * 
    568571         * Parameters: