PHP 클래스 Clickalicious\PhpMemAdmin\BaseInstaller

Base of installer for phpMemAdmin. This installer automate the single steps of symlink folders to document root. On Windows the symlink functionality requires administrator privileges on *nix platforms you will need the right to symlink to the folder in general.
파일 보기 프로젝트 열기: clickalicious/phpmemadmin 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$arguments array The arguments from CLI (argv) parsed.
$extra array The extra(s) from composer.json passed.
$installPath string The install path

보호된 메소드들

메소드 설명
getArguments ( ) : array Getter for arguments.
getExtra ( ) : array Getter for extra.
getInstallPath ( ) : string Getter for installPath.
getSourcePath ( ) : boolean Detect and return source path containing the bootstrap project structure.
initArguments ( Composer\Script\CommandEvent $event = null ) : boolean Retrieve arguments from global to prepare them for further use.
retrieveInstallPath ( ) : string Returns install path relative to current path.
setArguments ( array $arguments ) : void Setter for arguments.
setExtra ( array $extra ) : void Setter for extra.
setInstallPath ( string $installPath ) : void Setter for installPath.
showBanner ( ) : void Show project banner.
showHelp ( ) : void Shows help dialog.
showVersion ( ) : void Shows phpMemAdmin version banner.
showVhostExample ( string $installPath ) : void Echoes a VHost skeleton with correct path inserted.
validatePath ( string $path ) : boolean Validates a path for installation.
xcopy ( string $source, string $destination, mixed $permissions = 493 ) : boolean Copy a file, or recursively copy a folder and its contents

메소드 상세

getArguments() 보호된 정적인 메소드

Getter for arguments.
저자: Benjamin Carl ([email protected])
protected static getArguments ( ) : array
리턴 array The arguments

getExtra() 보호된 정적인 메소드

Getter for extra.
저자: Benjamin Carl ([email protected])
protected static getExtra ( ) : array
리턴 array Extra

getInstallPath() 보호된 정적인 메소드

Getter for installPath.
저자: Benjamin Carl ([email protected])
protected static getInstallPath ( ) : string
리턴 string The install path

getSourcePath() 보호된 정적인 메소드

Detect and return source path containing the bootstrap project structure.
저자: Benjamin Carl ([email protected])
protected static getSourcePath ( ) : boolean
리턴 boolean Returns true on success, false on failure

initArguments() 보호된 정적인 메소드

Retrieve arguments from global to prepare them for further use.
저자: Benjamin Carl ([email protected])
protected static initArguments ( Composer\Script\CommandEvent $event = null ) : boolean
$event Composer\Script\CommandEvent The Composer event fired to retrieve arguments from
리턴 boolean TRUE on success, otherwise FALSE

retrieveInstallPath() 보호된 정적인 메소드

Returns install path relative to current path.
저자: Benjamin Carl ([email protected])
protected static retrieveInstallPath ( ) : string
리턴 string The install path

setArguments() 보호된 정적인 메소드

Setter for arguments.
저자: Benjamin Carl ([email protected])
protected static setArguments ( array $arguments ) : void
$arguments array The arguments to set.
리턴 void

setExtra() 보호된 정적인 메소드

Setter for extra.
저자: Benjamin Carl ([email protected])
protected static setExtra ( array $extra ) : void
$extra array The extra to set.
리턴 void

setInstallPath() 보호된 정적인 메소드

Setter for installPath.
저자: Benjamin Carl ([email protected])
protected static setInstallPath ( string $installPath ) : void
$installPath string The installPath to set.
리턴 void

showBanner() 보호된 정적인 메소드

Show project banner.
저자: Benjamin Carl ([email protected])
protected static showBanner ( ) : void
리턴 void

showHelp() 보호된 정적인 메소드

Shows help dialog.
저자: Benjamin Carl ([email protected])
protected static showHelp ( ) : void
리턴 void

showVersion() 보호된 정적인 메소드

Shows phpMemAdmin version banner.
저자: Benjamin Carl ([email protected])
protected static showVersion ( ) : void
리턴 void

showVhostExample() 보호된 정적인 메소드

Echoes a VHost skeleton with correct path inserted.
저자: Benjamin Carl ([email protected])
protected static showVhostExample ( string $installPath ) : void
$installPath string The install path to insert.
리턴 void

validatePath() 보호된 정적인 메소드

Validates a path for installation.
저자: Benjamin Carl ([email protected])
protected static validatePath ( string $path ) : boolean
$path string The path to validate
리턴 boolean TRUE if path is valid, otherwise FALSE

xcopy() 보호된 정적인 메소드

Copy a file, or recursively copy a folder and its contents
저자: Benjamin Carl ([email protected])
protected static xcopy ( string $source, string $destination, mixed $permissions = 493 ) : boolean
$source string Source path
$destination string Destination path
$permissions mixed New folder creation permissions
리턴 boolean Returns true on success, false on failure

프로퍼티 상세

$arguments 보호되어 있는 정적으로 프로퍼티

The arguments from CLI (argv) parsed.
protected static array $arguments
리턴 array

$extra 보호되어 있는 정적으로 프로퍼티

The extra(s) from composer.json passed.
protected static array $extra
리턴 array

$installPath 보호되어 있는 정적으로 프로퍼티

The install path
protected static string $installPath
리턴 string