TTGridScheman::tt_grid_scheman()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 11

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 11
nc 1
nop 0
dl 0
loc 2
rs 9.9
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * Klass TTGridSchema.
5
 * @author Niklas Dougherty
6
 */
7
8
declare(strict_types=1);
9
10
namespace Tips\Moduler\TT;
11
12
/**
13
 * Klass TTGridSchema.
14
 */
15
final class TTGridScheman {
16
	/**
17
	 * Grid för TT-scheman.
18
	 */
19
	public function tt_grid_scheman(): string {
20
		return <<< EOT
21
						<p><button id="tt_rensa_spikar">Rensa</button> |
22
							<button type="button" class="tt_kombo" value="[1, [2, 2], [1], [0], [3, 4, 48, 1]]">R_3_4_48_1 + F 1/1</button>
23
							<button type="button" class="tt_kombo" value="[1, [3, 4], [2], [0], [6, 0, 73, 1]]">R_6_0_73_1 + F 2/2</button>
24
							<button type="button" class="tt_kombo" value="[0, [0, 0], [0], [0], [8, 0, 486, 1]]">R_8_0_486_1</button></p>
25
						<p><button type="button" class="tt_schema" value="[1, [1, 8], [8], [1]]">FX 8/8</button>
26
							<button type="button" class="tt_schema" value="[1, [1, 8], [8], [0]]">F 8/8</button>
27
							<button type="button" class="tt_schema" value="[1, [1, 3], [2], [0]]">F 2/3</button>
28
							<button type="button" class="tt_schema" value="[2, [1, 4, 1, 4], [4, 3], [1, 0]]">FX 4/4 + F 3/4</button>
29
							<button type="button" class="tt_schema" value="[3, [1, 3, 1, 3, 4, 6], [2, -1, 2], [1, 1, 1]]">FX 2/3 + SX 1/3 + FX 2/3</button></p>
30
EOT;
31
	}
32
}
33