PHP 클래스 Yosymfony\Spress\Scaffolding\NewSite

저자: Victor Puertas ([email protected])
파일 보기 프로젝트 열기: spress/spress 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $templatePath )
newSite ( string $path, string $templateName, boolean $force = false, $completeScaffold = false ) Create a new site scaffold.

비공개 메소드들

메소드 설명
clearDir ( $path )
copyTemplate ( $path, $templateName )
createBlankSite ( $path, $completeScaffold )
createSite ( $path, $templateName, $completeScaffold = false )
getContentComposerJsonFile ( )
getTemplatePath ( $templateName )
isEmptyDir ( $path )

메소드 상세

__construct() 공개 메소드

public __construct ( $templatePath )

newSite() 공개 메소드

Create a new site scaffold.
public newSite ( string $path, string $templateName, boolean $force = false, $completeScaffold = false )
$path string Destination path
$templateName string Template name. "blank" is a special template
$force boolean Force to clear destination if exists and it's not empty'