phpDocumentor

AutoUpdaterFtpManager
in package

Class AutoUpdaterFtpManager

Table of Contents

$filesystem  : AutoUpdaterFilesystem
$logControl  : LogControl
$settings  : AutoUpdaterSettings
__construct()  : mixed
AutoUpdaterFtpManager constructor.
copyFile()  : bool
Copies a file.
createDirectory()  : bool
Return true on success, otherwise false.
deleteDirectory()  : bool
Deletes a directory. Return true on success and false otherwise.
deleteFile()  : bool
Copies a file.
setCorrectChmodAndOwner()  : bool
Sets the file permissions and ownership correctly.
createDebugLog()  : mixed
Creates a new debug log.

Properties

Methods

copyFile()

Copies a file.

public copyFile(string $source, string $destination) : bool
Parameters
$source : string
$destination : string
Return values
bool

createDirectory()

Return true on success, otherwise false.

public createDirectory(string $directory) : bool
Parameters
$directory : string

Path of the new directory.

Return values
bool

deleteDirectory()

Deletes a directory. Return true on success and false otherwise.

public deleteDirectory(string $directory) : bool
Parameters
$directory : string
Return values
bool

deleteFile()

Copies a file.

public deleteFile(string $file) : bool
Parameters
$file : string
Return values
bool

setCorrectChmodAndOwner()

Sets the file permissions and ownership correctly.

public setCorrectChmodAndOwner(string $file[, null|string $chmod = null ][, null|string $owner = null ]) : bool
Parameters
$file : string
$chmod : null|string = null
$owner : null|string = null
Return values
bool

createDebugLog()

Creates a new debug log.

protected createDebugLog(string $message[, string|array<string|int, mixed> $additionalData = '' ]) : mixed
Parameters
$message : string
$additionalData : string|array<string|int, mixed> = ''
Return values
mixed

Search results