Make WordPress Core


Ignore:
Timestamp:
08/14/2008 06:30:38 AM (16 years ago)
Author:
westi
Message:

phpdoc for wp-admin. See #7496 props santosj.

File:
1 edited

Legend:

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

    r8600 r8645  
    11<?php
     2/**
     3 * WordPress FTP Sockets Filesystem.
     4 *
     5 * @package WordPress
     6 * @subpackage Filesystem
     7 */
     8
     9/**
     10 * WordPress Filesystem Class for implementing FTP Sockets.
     11 *
     12 * @since 2.5
     13 * @package WordPress
     14 * @subpackage Filesystem
     15 * @uses WP_Filesystem_Base Extends class
     16 */
    217class WP_Filesystem_ftpsockets extends WP_Filesystem_Base {
    318    var $ftp = false;
     
    2338                            );
    2439
    25     function WP_Filesystem_ftpsockets($opt='') {
     40    function WP_Filesystem_ftpsockets($opt = '') {
    2641        $this->method = 'ftpsockets';
    2742        $this->errors = new WP_Error();
     
    87102    }
    88103
    89     function get_contents($file, $type = '', $resumepos = 0){
     104    function get_contents($file, $type = '', $resumepos = 0) {
    90105        if( ! $this->exists($file) )
    91106            return false;
     
    113128    }
    114129
    115     function get_contents_array($file){
     130    function get_contents_array($file) {
    116131        return explode("\n", $this->get_contents($file) );
    117132    }
     
    152167    }
    153168
    154     function chmod($file, $mode = false, $recursive = false ){
     169    function chmod($file, $mode = false, $recursive = false ) {
    155170        if( ! $mode )
    156171            $mode = $this->permission;
     
    252267    }
    253268
    254     function touch($file, $time = 0, $atime = 0 ){
     269    function touch($file, $time = 0, $atime = 0 ) {
    255270        return false;
    256271    }
     
    312327    }
    313328
    314     function __destruct(){
     329    function __destruct() {
    315330        $this->ftp->quit();
    316331    }
    317332}
     333
    318334?>
Note: See TracChangeset for help on using the changeset viewer.