class SearchResult extends Result (View source)

Constants

TYPE_KEYWORDS

TYPE_TAG

Properties

protected $id from  Result
protected $task from  Result
protected $findings from  Result
protected $dateStarted from  Result
protected $dateCompleted from  Result
protected $score from  Result
protected $grade from  Result
protected $name from  Result
protected $searchString
protected $searchType

Methods

mixed
getId()

No description

from  Result
Task|null
getTask()

No description

from  Result
void
setTask(mixed $task)

No description

from  Result
mixed
getName()

No description

from  Result
void
setName(mixed $name)

No description

from  Result
void
setDateStarted(mixed $dateStarted)

No description

from  Result
void
setDateCompleted(mixed $dateCompleted)

No description

from  Result
int
getTotalFindings()

No description

from  Result
getDateStarted($mask = null)

No description

from  Result
getDateCompleted($mask = null)

No description

from  Result
getFindings()

No description

from  Result
array
getWeightedFindings()

Returns all findings for the current report result, but weights them, with items by type coming in the following positions

from  Result
mixed
getScore()

No description

from  Result
void
setScore(mixed $score)

No description

from  Result
void
setGrade(mixed $grade)

No description

from  Result
mixed
getRawGrade()

No description

from  Result
GradeInterface|null
getGrade()

No description

from  Result
getFormatter()

No description

__construct(string $searchType, string $searchString)

No description

mixed
getSearchString()

No description

void
setSearchString(mixed $searchString)

No description

mixed
getSearchType()

No description

void
setSearchType(mixed $searchType)

No description

Details

mixed getId()

No description

Return Value

mixed

Task|null getTask()

No description

Return Value

Task|null

void setTask(mixed $task)

No description

Parameters

mixed $task

Return Value

void

mixed getName()

No description

Return Value

mixed

void setName(mixed $name)

No description

Parameters

mixed $name

Return Value

void

void setDateStarted(mixed $dateStarted)

No description

Parameters

mixed $dateStarted

Return Value

void

void setDateCompleted(mixed $dateCompleted)

No description

Parameters

mixed $dateCompleted

Return Value

void

int getTotalFindings()

No description

Return Value

int

getDateStarted($mask = null)

No description

Parameters

$mask

getDateCompleted($mask = null)

No description

Parameters

$mask

Finding[] getFindings()

No description

Return Value

Finding[]

array getWeightedFindings()

Returns all findings for the current report result, but weights them, with items by type coming in the following positions

AlertFinding WarningFinding SuccessFinding InfoFinding

Return Value

array

mixed getScore()

No description

Return Value

mixed

void setScore(mixed $score)

No description

Parameters

mixed $score

Return Value

void

void setGrade(mixed $grade)

No description

Parameters

mixed $grade

Return Value

void

mixed getRawGrade()

No description

Return Value

mixed

GradeInterface|null getGrade()

No description

Return Value

GradeInterface|null

FormatterInterface getFormatter()

No description

Return Value

FormatterInterface

__construct(string $searchType, string $searchString)

No description

Parameters

string $searchType
string $searchString

mixed getSearchString()

No description

Return Value

mixed

void setSearchString(mixed $searchString)

No description

Parameters

mixed $searchString

Return Value

void

mixed getSearchType()

No description

Return Value

mixed

void setSearchType(mixed $searchType)

No description

Parameters

mixed $searchType

Return Value

void