1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
// Copyright (c) 2016, Daniele Orlando <fluidxml(at)danieleorlando.com> |
4
|
|
|
// All rights reserved. |
5
|
|
|
// |
6
|
|
|
// Redistribution and use in source and binary forms, with or without modification, |
7
|
|
|
// are permitted provided that the following conditions are met: |
8
|
|
|
// |
9
|
|
|
// 1. Redistributions of source code must retain the above copyright notice, this |
10
|
|
|
// list of conditions and the following disclaimer. |
11
|
|
|
// |
12
|
|
|
// 2. Redistributions in binary form must reproduce the above copyright notice, |
13
|
|
|
// this list of conditions and the following disclaimer in the documentation |
14
|
|
|
// and/or other materials provided with the distribution. |
15
|
|
|
// |
16
|
|
|
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
17
|
|
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
18
|
|
|
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
19
|
|
|
// IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, |
20
|
|
|
// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
21
|
|
|
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
22
|
|
|
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
23
|
|
|
// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
24
|
|
|
// OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
25
|
|
|
// OF THE POSSIBILITY OF SUCH DAMAGE. |
26
|
|
|
|
27
|
|
|
/** |
28
|
|
|
* FluidXML is a PHP library designed to manipulate XML documents with a concise |
29
|
|
|
* and fluent API. It leverages XPath and the fluent programming pattern to be |
30
|
|
|
* fun and effective. |
31
|
|
|
* |
32
|
|
|
* @author Daniele Orlando <fluidxml(at)danieleorlando.com> |
33
|
|
|
* |
34
|
|
|
* @license BSD-2-Clause |
35
|
|
|
* @license https://opensource.org/licenses/BSD-2-Clause |
36
|
|
|
*/ |
37
|
|
|
|
38
|
|
|
$ds = \DIRECTORY_SEPARATOR; |
39
|
|
|
|
40
|
|
|
// First of all. |
41
|
|
|
require_once __DIR__ . "{$ds}FluidXml{$ds}FluidInterface.php"; |
42
|
|
|
require_once __DIR__ . "{$ds}FluidXml{$ds}FluidSaveTrait.php"; |
43
|
|
|
require_once __DIR__ . "{$ds}FluidXml{$ds}NewableTrait.php"; |
44
|
|
|
require_once __DIR__ . "{$ds}FluidXml{$ds}ReservedCallStaticTrait.php"; |
45
|
|
|
require_once __DIR__ . "{$ds}FluidXml{$ds}ReservedCallTrait.php"; |
46
|
|
|
|
47
|
|
|
// All. |
48
|
|
|
require_once __DIR__ . "{$ds}FluidXml{$ds}CssTranslator.php"; |
49
|
|
|
require_once __DIR__ . "{$ds}FluidXml{$ds}FluidContext.php"; |
50
|
|
|
require_once __DIR__ . "{$ds}FluidXml{$ds}FluidDocument.php"; |
51
|
|
|
require_once __DIR__ . "{$ds}FluidXml{$ds}FluidHelper.php"; |
52
|
|
|
require_once __DIR__ . "{$ds}FluidXml{$ds}FluidInsertionHandler.php"; |
53
|
|
|
require_once __DIR__ . "{$ds}FluidXml{$ds}FluidNamespace.php"; |
54
|
|
|
require_once __DIR__ . "{$ds}FluidXml{$ds}FluidRepeater.php"; |
55
|
|
|
require_once __DIR__ . "{$ds}FluidXml{$ds}FluidXml.php"; |
56
|
|
|
|
57
|
|
|
// After of all. |
58
|
|
|
require_once __DIR__ . "{$ds}FluidXml{$ds}fluid.php"; |
59
|
|
|
|