Tournament Generator

TeamExporter extends ExportBase

Exporter for teams

A specific exporter for teams and their related data.

Tags
author

Tomá? Vojík vojik@wboy.cz

since
0.5

Table of Contents

$modifiers  : array<string|int, mixed>
$object  : HierarchyBase
__construct()  : mixed
TeamExporter constructor.
export()  : array<string|int, mixed>
Simple export query without any modifiers
get()  : array<string|int, mixed>
Finish the export query -> get the result
getBasic()  : array<string|int, mixed>
Gets the basic unmodified data
start()  : Export
Start an export query
withScores()  : TeamExporter
Include team scores in the result set
applyModifiers()  : void
Apply set modifiers to data array
withScoresModifier()  : array<string|int, mixed>
Includes team scores in the result set

Properties

$modifiers

protected array<string|int, mixed> $modifiers = []

Methods

export()

Simple export query without any modifiers

public static export(HierarchyBase $object) : array<string|int, mixed>
Parameters
$object : HierarchyBase
Return values
array<string|int, mixed>

get()

Finish the export query -> get the result

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

The query result

getBasic()

Gets the basic unmodified data

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

applyModifiers()

Apply set modifiers to data array

protected applyModifiers(array<string|int, mixed> &$data) : void
Parameters
$data : array<string|int, mixed>
Return values
void

withScoresModifier()

Includes team scores in the result set

protected withScoresModifier(array<string|int, mixed> &$data) : array<string|int, mixed>
Parameters
$data : array<string|int, mixed>
Tags
ingroup

TeamExporterModifiers

throws
Exception
Return values
array<string|int, mixed>

Search results