PHP Class DeployForm

Inheritance: extends Form
Afficher le fichier Open project: silverstripe/deploynaut Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( DNRoot $controller, string $name, DNEnvironment $environment, DNProject $project )
getSelectedBuild ( array $data ) : string Get the build selected from the given data

Méthodes protégées

Méthode Description
buildCommitSelector ( DNProject $project ) : FormField Construct fields to select any commit

Method Details

__construct() public méthode

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

buildCommitSelector() protected méthode

Construct fields to select any commit
protected buildCommitSelector ( DNProject $project ) : FormField
$project DNProject
Résultat FormField

getSelectedBuild() public méthode

Get the build selected from the given data
public getSelectedBuild ( array $data ) : string
$data array
Résultat string SHA of selected build