PHP 클래스 N98\Util\Console\Helper\MagentoHelper

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

보호된 프로퍼티들

프로퍼티 타입 설명
$_customConfigFilename string
$_magentoEnterprise boolean
$_magentoMajorVersion integer
$_magentoRootFolder string
$_magerunStopFileFolder string
$_magerunStopFileFound boolean
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

공개 메소드들

메소드 설명
__construct ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null )
detect ( string $folder, array $subFolders = [] ) : boolean Start Magento detection
detectMagento2InHtdocsSubfolder ( )
detectMagentoFailed ( )
detectMagentoInHtdocsSubfolder ( )
detectMagentoInModmanInfrastructure ( )
detectMagentoInStandardFolder ( )
getEdition ( )
getMagerunStopFileFolder ( ) : string
getMajorVersion ( ) : integer
getName ( ) : string Returns the canonical name of this helper.
getRootFolder ( ) : string
isEnterpriseEdition ( ) : boolean
isMagerunStopFileFound ( ) : boolean
testHelperInstance ( )

보호된 메소드들

메소드 설명
_search ( string $searchFolder ) : boolean
checkMagerunFile ( array $folders ) : array Check for magerun stop-file
checkModman ( array $folders ) : array Check for modman file and .basedir
getHelper ( ) : MagentoHelper
splitPathFolders ( string $folder ) : array

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

checkMagerunFile() 보호된 메소드

Check for magerun stop-file
protected checkMagerunFile ( array $folders ) : array
$folders array
리턴 array

checkModman() 보호된 메소드

Check for modman file and .basedir
protected checkModman ( array $folders ) : array
$folders array
리턴 array

detect() 공개 메소드

Start Magento detection
public detect ( string $folder, array $subFolders = [] ) : boolean
$folder string
$subFolders array [optional] sub-folders to check
리턴 boolean

detectMagento2InHtdocsSubfolder() 공개 메소드

detectMagentoFailed() 공개 메소드

public detectMagentoFailed ( )

detectMagentoInHtdocsSubfolder() 공개 메소드

detectMagentoInModmanInfrastructure() 공개 메소드

detectMagentoInStandardFolder() 공개 메소드

getEdition() 공개 메소드

public getEdition ( )

getHelper() 보호된 메소드

protected getHelper ( ) : MagentoHelper
리턴 MagentoHelper

getMagerunStopFileFolder() 공개 메소드

public getMagerunStopFileFolder ( ) : string
리턴 string

getMajorVersion() 공개 메소드

public getMajorVersion ( ) : integer
리턴 integer

getName() 공개 메소드

Returns the canonical name of this helper.
public getName ( ) : string
리턴 string The canonical name

getRootFolder() 공개 메소드

public getRootFolder ( ) : string
리턴 string

isEnterpriseEdition() 공개 메소드

public isEnterpriseEdition ( ) : boolean
리턴 boolean

isMagerunStopFileFound() 공개 메소드

public isMagerunStopFileFound ( ) : boolean
리턴 boolean

splitPathFolders() 보호된 메소드

protected splitPathFolders ( string $folder ) : array
$folder string
리턴 array

testHelperInstance() 공개 메소드

public testHelperInstance ( )

프로퍼티 상세

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

protected string $_customConfigFilename
리턴 string

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

protected bool $_magentoEnterprise
리턴 boolean

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

protected int $_magentoMajorVersion
리턴 integer

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

protected string $_magentoRootFolder
리턴 string

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

protected string $_magerunStopFileFolder
리턴 string

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

protected bool $_magerunStopFileFound
리턴 boolean

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

protected InputInterface,Symfony\Component\Console\Input $input
리턴 Symfony\Component\Console\Input\InputInterface

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

protected OutputInterface,Symfony\Component\Console\Output $output
리턴 Symfony\Component\Console\Output\OutputInterface