result->closeCursor(); } public function fetch(int $fetchMode = PDO::FETCH_ASSOC) { $this->fetchRows(); return parent::fetch($fetchMode); } public function fetchAll(int $fetchMode = PDO::FETCH_ASSOC): array { $this->fetchRows(); return parent::fetchAll($fetchMode); } public function rowCount(): int { $this->fetchRows(); return parent::rowCount(); } private function fetchRows(): void { if (!$this->fetched) { $this->fetched = true; $this->rows = $this->result->fetchAll(); foreach ($this->splitOfParts as $part) { $this->rows = $part->mergeWith($this->rows); } $this->count = count($this->rows); } } } Apache XML Graphics FOP: https://github.com/apache/xmlgraphics-fopwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/lib/batik.LICENSE.txt
blob: 85486bf4a212a2a505699f1d8651c35034c3f906 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50