PHP Class DNBranchList

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

Protected Properties

Свойство Type Description
$builds array
$data DNData
$loaded boolean
$project DNProject
$refs_dir string

Méthodes publiques

Méthode Description
__construct ( DNProject $project, DNData $data )
byName ( $name ) : string Find a branch in this set by branch name.
getIterator ( ) : ArrayIterator Returns an Iterator for this ArrayList.
get_refs_dir ( )
set_refs_dir ( $refsDir )

Méthodes protégées

Méthode Description
getReferences ( ) : array

Method Details

__construct() public méthode

public __construct ( DNProject $project, DNData $data )
$project DNProject
$data DNData

byName() public méthode

Find a branch in this set by branch name.
public byName ( $name ) : string
$name
Résultat string

getIterator() public méthode

This function allows you to use ArrayList in foreach loops
public getIterator ( ) : ArrayIterator
Résultat ArrayIterator

getReferences() protected méthode

protected getReferences ( ) : array
Résultat array

get_refs_dir() public static méthode

public static get_refs_dir ( )

set_refs_dir() public static méthode

public static set_refs_dir ( $refsDir )

Property Details

$builds protected_oe property

protected array $builds
Résultat array

$data protected_oe property

protected DNData $data
Résultat DNData

$loaded protected_oe property

protected bool $loaded
Résultat boolean

$project protected_oe property

protected DNProject $project
Résultat DNProject

$refs_dir protected_oe static_oe property

protected static string $refs_dir
Résultat string