PHP 클래스 DeployForm

상속: extends Form
파일 보기 프로젝트 열기: silverstripe/deploynaut 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( DNRoot $controller, string $name, DNEnvironment $environment, DNProject $project )
getSelectedBuild ( array $data ) : string Get the build selected from the given data

보호된 메소드들

메소드 설명
buildCommitSelector ( DNProject $project ) : FormField Construct fields to select any commit

메소드 상세

__construct() 공개 메소드

public __construct ( DNRoot $controller, string $name, DNEnvironment $environment, DNProject $project )
$controller DNRoot
$name string
$environment DNEnvironment
$project DNProject

buildCommitSelector() 보호된 메소드

Construct fields to select any commit
protected buildCommitSelector ( DNProject $project ) : FormField
$project DNProject
리턴 FormField

getSelectedBuild() 공개 메소드

Get the build selected from the given data
public getSelectedBuild ( array $data ) : string
$data array
리턴 string SHA of selected build