1 | <?php |
||
8 | abstract class SimpleElementAbstract |
||
9 | { |
||
10 | /** |
||
11 | * @param \SimpleXMLElement $xml |
||
12 | * @param string $type |
||
13 | * @param string $moduleName |
||
14 | * @return bool |
||
15 | */ |
||
16 | public function elementExistsInXml(\SimpleXMLElement $xml, $type, $moduleName) |
||
25 | |||
26 | /** |
||
27 | * @param \SimpleXMLElement $xml |
||
28 | * @param string $type |
||
29 | * @param string $moduleName |
||
30 | * @throws XmlGeneratorException |
||
31 | * @return null |
||
32 | */ |
||
33 | public function addElementToXml(\SimpleXMLElement $xml, $type, $moduleName) |
||
45 | |||
46 | /** |
||
47 | * @param \SimpleXMLElement $xml |
||
48 | * @param string $path |
||
49 | * @return \SimpleXMLElement |
||
50 | */ |
||
51 | protected function getElement(\SimpleXMLElement $xml, $path) |
||
61 | } |