PHP 클래스 FtpSocket, cakephp-ftp

상속: extends CakeSocket
파일 보기 프로젝트 열기: fotografde/cakephp-ftp

공개 프로퍼티들

프로퍼티 타입 설명
$description string Object description

보호된 프로퍼티들

프로퍼티 타입 설명
$_baseConfig array Base configuration settings for the socket connection
$_commands array Available FTP Commands
$_responses array Hold last x responseLength responses

공개 메소드들

메소드 설명
__call ( string $name, array $args ) : FtpSocket Call raw FTP commands
__get ( string $name ) : mixed Get properties
connect ( string $host = null, integer $port = null ) : FtpSocket Connect
login ( string $username = null, string $password = null ) : FtpSocket Login

보호된 메소드들

메소드 설명
_response ( string $data = null ) : boolean Manage responses buffer

메소드 상세

__call() 공개 메소드

Call raw FTP commands
public __call ( string $name, array $args ) : FtpSocket
$name string
$args array
리턴 FtpSocket

__get() 공개 메소드

Get properties
public __get ( string $name ) : mixed
$name string
리턴 mixed

_response() 보호된 메소드

Manage responses buffer
protected _response ( string $data = null ) : boolean
$data string
리턴 boolean

connect() 공개 메소드

Connect
public connect ( string $host = null, integer $port = null ) : FtpSocket
$host string
$port integer
리턴 FtpSocket

login() 공개 메소드

Login
public login ( string $username = null, string $password = null ) : FtpSocket
$username string
$password string
리턴 FtpSocket

프로퍼티 상세

$_baseConfig 보호되어 있는 프로퍼티

Base configuration settings for the socket connection
protected array $_baseConfig
리턴 array

$_commands 보호되어 있는 프로퍼티

Available FTP Commands
protected array $_commands
리턴 array

$_responses 보호되어 있는 프로퍼티

Hold last x responseLength responses
protected array $_responses
리턴 array

$description 공개적으로 프로퍼티

Object description
public string $description
리턴 string