Documentation

SingleInstance
in package
implements IteratorAggregate

Contributors descriptor

Table of Contents

Interfaces

IteratorAggregate

Properties

$analysis  : array<string|int, mixed>
$curlErrInfo  : string
$curlErrNum  : int
$details  : Struct
$preferred  : bool
$quakeId  : IdStruct

Methods

__construct()  : mixed
addAnalysis()  : void
Add Analysys type, can be called multiple times, analysis with the same name are renamed in $name-$i++ (where $i >= 1)
analisysExists()  : bool
check if an analysis exist for this contributor
countAnalysis()  : int
Get number of Analysys found
details()  : Struct
get contributor details
getIterator()  : array<string|int, mixed>
get all analysis
isPreferred()  : bool
get this contributor preferred status
setPreferred()  : void
set this contributor as (not) preferred

Properties

Methods

addAnalysis()

Add Analysys type, can be called multiple times, analysis with the same name are renamed in $name-$i++ (where $i >= 1)

public addAnalysis(string $name) : void
Parameters
$name : string

analisysExists()

check if an analysis exist for this contributor

public analisysExists(string $name) : bool
Parameters
$name : string

name of the analysis to check ('MCS', 'EMS', ...)

Return values
bool

True if exists, false otherwise

countAnalysis()

Get number of Analysys found

public countAnalysis() : int
Return values
int

analysis found

details()

get contributor details

public details() : Struct
Return values
Struct

Contributor details

getIterator()

get all analysis

public getIterator() : array<string|int, mixed>
Return values
array<string|int, mixed>

array of strings with the found contributors

isPreferred()

get this contributor preferred status

public isPreferred() : bool
Return values
bool

True if this contributor is preferred, false otherwise

setPreferred()

set this contributor as (not) preferred

public setPreferred(bool $status) : void
Parameters
$status : bool

True if this contributor is preferred, false otherwise


        
On this page

Search results