Make WordPress Core


Ignore:
Timestamp:
09/10/2015 01:20:58 AM (9 years ago)
Author:
wonderboymusic
Message:

Add @access docs to class-wp-filesystem-* files.

Props wenthemes.
Fixes #33725.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-filesystem-ssh2.php

    r33688 r33984  
    3636class WP_Filesystem_SSH2 extends WP_Filesystem_Base {
    3737
     38    /**
     39     * @access public
     40     */
    3841    public $link = false;
    39     /**
     42
     43    /**
     44     * @access public
    4045     * @var resource
    4146     */
     
    4449
    4550    /**
     51     * @access public
    4652     *
    4753     * @param array $opt
     
    97103
    98104    /**
     105     * @access public
    99106     *
    100107     * @return bool
     
    130137
    131138    /**
     139     * @access public
     140     *
    132141     * @param string $command
    133142     * @param bool $returnbool
     
    155164
    156165    /**
     166     * @access public
     167     *
    157168     * @param string $file
    158169     * @return string|false
     
    164175
    165176    /**
     177     * @access public
     178     *
    166179     * @param string $file
    167180     * @return array
     
    173186
    174187    /**
     188     * @access public
     189     *
    175190     * @param string   $file
    176191     * @param string   $contents
     
    190205
    191206    /**
     207     * @access public
    192208     *
    193209     * @return bool
     
    202218
    203219    /**
     220     * @access public
     221     *
    204222     * @param string $dir
    205223     * @return bool|string
     
    210228
    211229    /**
     230     * @access public
     231     *
    212232     * @param string $file
    213233     * @param string $group
     
    225245
    226246    /**
     247     * @access public
     248     *
    227249     * @param string $file
    228250     * @param int    $mode
     
    251273     * Change the ownership of a file / folder.
    252274     *
    253      * @since Unknown
     275     * @access public
    254276     *
    255277     * @param string     $file    Path to the file.
     
    267289
    268290    /**
     291     * @access public
     292     *
    269293     * @param string $file
    270294     * @return string|false
     
    279303        return $ownerarray['name'];
    280304    }
    281     /**
     305
     306    /**
     307     * @access public
     308     *
    282309     * @param string $file
    283310     * @return string
     
    288315
    289316    /**
     317     * @access public
     318     *
    290319     * @param string $file
    291320     * @return string|false
     
    302331
    303332    /**
     333     * @access public
     334     *
    304335     * @param string   $source
    305336     * @param string   $destination
     
    318349
    319350    /**
     351     * @access public
     352     *
    320353     * @param string $source
    321354     * @param string $destination
     
    328361
    329362    /**
     363     * @access public
     364     *
    330365     * @param string      $file
    331366     * @param bool        $recursive
     
    348383
    349384    /**
     385     * @access public
     386     *
    350387     * @param string $file
    351388     * @return bool
     
    355392        return file_exists('ssh2.sftp://' . $this->sftp_link . '/' . $file);
    356393    }
    357     /**
     394
     395    /**
     396     * @access public
     397     *
    358398     * @param string $file
    359399     * @return bool
     
    363403        return is_file('ssh2.sftp://' . $this->sftp_link . '/' . $file);
    364404    }
    365     /**
     405
     406    /**
     407     * @access public
     408     *
    366409     * @param string $path
    367410     * @return bool
     
    371414        return is_dir('ssh2.sftp://' . $this->sftp_link . '/' . $path);
    372415    }
    373     /**
     416
     417    /**
     418     * @access public
     419     *
    374420     * @param string $file
    375421     * @return bool
     
    379425        return is_readable('ssh2.sftp://' . $this->sftp_link . '/' . $file);
    380426    }
    381     /**
     427
     428    /**
     429     * @access public
     430     *
    382431     * @param string $file
    383432     * @return bool
     
    387436        return true;
    388437    }
    389     /**
     438
     439    /**
     440     * @access public
     441     *
    390442     * @param string $file
    391443     * @return int
     
    397449
    398450    /**
     451     * @access public
     452     *
    399453     * @param string $file
    400454     * @return int
     
    406460
    407461    /**
     462     * @access public
     463     *
    408464     * @param string $file
    409465     * @return int
     
    415471
    416472    /**
     473     * @access public
     474     *
    417475     * @param string $file
    418476     * @param int    $time
     
    424482
    425483    /**
     484     * @access public
     485     *
    426486     * @param string $path
    427487     * @param mixed  $chmod
     
    447507
    448508    /**
     509     * @access public
     510     *
    449511     * @param string $path
    450512     * @param bool   $recursive
     
    456518
    457519    /**
     520     * @access public
     521     *
    458522     * @param string $path
    459523     * @param bool   $include_hidden
Note: See TracChangeset for help on using the changeset viewer.