PHP 클래스 GitDispatcher

상속: extends Dispatcher
파일 보기 프로젝트 열기: silverstripe/deploynaut

공개 프로퍼티들

프로퍼티 타입 설명
$allowed_actions array

보호된 프로퍼티들

프로퍼티 타입 설명
$environment DNEnvironment
$project DNProject

공개 메소드들

메소드 설명
Link ( ) : string
getModel ( string $name = '' ) : array
index ( SS_HTTPRequest $request ) : HTMLText | SS_HTTPResponse
init ( )
show ( SS_HTTPRequest $request ) : string
update ( SS_HTTPRequest $request ) : SS_HTTPResponse

보호된 메소드들

메소드 설명
createUpdate ( ) : SS_HTTPResponse
getGitBranches ( $project ) : array
getGitPrevDeploys ( $project ) : array
getGitTags ( $project ) : array
getUpdateStatus ( integer $ID ) : SS_HTTPResponse

메소드 상세

createUpdate() 보호된 메소드

protected createUpdate ( ) : SS_HTTPResponse
리턴 SS_HTTPResponse

getGitBranches() 보호된 메소드

protected getGitBranches ( $project ) : array
$project
리턴 array

getGitPrevDeploys() 보호된 메소드

protected getGitPrevDeploys ( $project ) : array
$project
리턴 array

getGitTags() 보호된 메소드

protected getGitTags ( $project ) : array
$project
리턴 array

getModel() 공개 메소드

public getModel ( string $name = '' ) : array
$name string
리턴 array

getUpdateStatus() 보호된 메소드

protected getUpdateStatus ( integer $ID ) : SS_HTTPResponse
$ID integer
리턴 SS_HTTPResponse

index() 공개 메소드

public index ( SS_HTTPRequest $request ) : HTMLText | SS_HTTPResponse
$request SS_HTTPRequest
리턴 HTMLText | SS_HTTPResponse

init() 공개 메소드

public init ( )

show() 공개 메소드

public show ( SS_HTTPRequest $request ) : string
$request SS_HTTPRequest
리턴 string

update() 공개 메소드

public update ( SS_HTTPRequest $request ) : SS_HTTPResponse
$request SS_HTTPRequest
리턴 SS_HTTPResponse

프로퍼티 상세

$allowed_actions 공개적으로 정적으로 프로퍼티

public static array $allowed_actions
리턴 array

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

protected DNEnvironment $environment
리턴 DNEnvironment

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

protected DNProject $project
리턴 DNProject