PHP Интерфейс N98\Magento\Command\Database\Compressor\Compressor

Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
getCompressingCommand ( string $command, boolean $pipe = true ) : string Returns the command line for compressing the dump file.
getDecompressingCommand ( string $command, string $fileName, boolean $pipe = true ) : string Returns the command line for decompressing the dump file.
getFileName ( string $fileName, boolean $pipe = true ) : string Returns the file name for the compressed dump file.

Описание методов

getCompressingCommand() публичный Метод

Returns the command line for compressing the dump file.
public getCompressingCommand ( string $command, boolean $pipe = true ) : string
$command string
$pipe boolean
Результат string

getDecompressingCommand() публичный Метод

Returns the command line for decompressing the dump file.
public getDecompressingCommand ( string $command, string $fileName, boolean $pipe = true ) : string
$command string MySQL client tool connection string
$fileName string Filename (shell argument escaped)
$pipe boolean
Результат string

getFileName() публичный Метод

Returns the file name for the compressed dump file.
public getFileName ( string $fileName, boolean $pipe = true ) : string
$fileName string
$pipe boolean
Результат string