Tournament Generator

ExportBase implements Export

Base class for exporters

Exporters operate on some HierarchyBase class. They extract data and/or settings from these classes in a form of PHP array. Exporters also allow of adding modifiers to the exported query - adding more data. These modifiers are added via specific methods (usually starting with "with" keyword).

Tags
author

Tomá? Vojík vojik@wboy.cz

since
0.5

Interfaces, Classes and Traits

Export
Interface for exporters

Table of Contents

$modifiers  : array<string|int, mixed>
$object  : HierarchyBase
__construct()  : mixed
get()  : array<string|int, mixed>
Finish the export query -> get the result
applyModifiers()  : void
Apply set modifiers to data array

Properties

$modifiers

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

Methods

get()

Finish the export query -> get the result

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

The query result

applyModifiers()

Apply set modifiers to data array

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

Search results