PHP 인터페이스 N98\Magento\Command\Database\Compressor\Compressor

파일 보기 프로젝트 열기: netz98/n98-magerun 0 사용 예제들

공개 메소드들

메소드 설명
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