1 | <?php |
||
13 | class Relationships |
||
14 | { |
||
15 | /** @var string */ |
||
16 | private $xml = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n"; |
||
17 | /** @var string */ |
||
18 | private $urlSchema = 'http://schemas.openxmlformats.org/officeDocument/2006'; |
||
19 | /** @var string */ |
||
20 | private $urlRel = 'http://schemas.openxmlformats.org/package/2006/relationships'; |
||
21 | /** @var bool */ |
||
22 | private $sharedStringsRelations = false; |
||
23 | /** @var array */ |
||
24 | private $sheets = []; |
||
25 | |||
26 | /** |
||
27 | * Relationships constructor. |
||
28 | * |
||
29 | * @param bool $sharedStringsRelations |
||
30 | */ |
||
31 | public function __construct($sharedStringsRelations = false) |
||
35 | |||
36 | /** |
||
37 | * @return string |
||
38 | */ |
||
39 | public function buildRelationshipsXML() |
||
54 | |||
55 | /** |
||
56 | * @return string |
||
57 | */ |
||
58 | public function buildWorkbookRelationshipsXML() |
||
80 | |||
81 | /** |
||
82 | * @param array $sheets |
||
83 | * |
||
84 | * @return $this |
||
85 | */ |
||
86 | public function setSheet(array $sheets) |
||
92 | } |
||
93 |