projects
/
core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
95673c6
)
Renamed endElement() to finishElement(), see the final implementation in BaseXmlTempl...
author
Roland Häder
<roland@mxchange.org>
Thu, 4 Jul 2013 20:58:20 +0000
(20:58 +0000)
committer
Roland Häder
<roland@mxchange.org>
Thu, 4 Jul 2013 20:58:20 +0000
(20:58 +0000)
inc/classes/main/decorator/template/class_XmlRewriterTemplateDecorator.php
patch
|
blob
|
history
inc/classes/main/parser/xml/class_XmlParser.php
patch
|
blob
|
history
inc/classes/main/template/image/class_ImageTemplateEngine.php
patch
|
blob
|
history
inc/classes/main/template/mail/class_MailTemplateEngine.php
patch
|
blob
|
history
inc/classes/main/template/menu/class_MenuTemplateEngine.php
patch
|
blob
|
history
diff --git
a/inc/classes/main/decorator/template/class_XmlRewriterTemplateDecorator.php
b/inc/classes/main/decorator/template/class_XmlRewriterTemplateDecorator.php
index 46fb179f4440f6629eff752a8f89ed01645e6d99..fe3a437cb278c9262d58b31843826331bbb6cc83 100644
(file)
--- a/
inc/classes/main/decorator/template/class_XmlRewriterTemplateDecorator.php
+++ b/
inc/classes/main/decorator/template/class_XmlRewriterTemplateDecorator.php
@@
-413,9
+413,9
@@
class XmlRewriterTemplateDecorator extends BaseDecorator implements CompileableT
* @return void
* @throws XmlNodeMismatchException If current main node mismatches the closing one
*/
* @return void
* @throws XmlNodeMismatchException If current main node mismatches the closing one
*/
- public function
end
Element ($resource, $nodeName) {
+ public function
finish
Element ($resource, $nodeName) {
// Call the inner class' method
// Call the inner class' method
- $this->getTemplateInstance()->
end
Element($resource, $nodeName);
+ $this->getTemplateInstance()->
finish
Element($resource, $nodeName);
}
/**
}
/**
diff --git
a/inc/classes/main/parser/xml/class_XmlParser.php
b/inc/classes/main/parser/xml/class_XmlParser.php
index d8cf17a68e9309b408e7efc5757d121aa43fccb1..85b6ab7304c097c1da84f73fc0ca6503180959fe 100644
(file)
--- a/
inc/classes/main/parser/xml/class_XmlParser.php
+++ b/
inc/classes/main/parser/xml/class_XmlParser.php
@@
-96,7
+96,7
@@
class XmlParser extends BaseParser implements Parseable {
xml_set_object($xmlParser, $templateInstance);
// Set handler call-backs
xml_set_object($xmlParser, $templateInstance);
// Set handler call-backs
- xml_set_element_handler($xmlParser, 'startElement', '
end
Element');
+ xml_set_element_handler($xmlParser, 'startElement', '
finish
Element');
xml_set_character_data_handler($xmlParser, 'characterHandler');
// Now parse the XML tree
xml_set_character_data_handler($xmlParser, 'characterHandler');
// Now parse the XML tree
diff --git
a/inc/classes/main/template/image/class_ImageTemplateEngine.php
b/inc/classes/main/template/image/class_ImageTemplateEngine.php
index d3e26e4779b1cd5d300beb6e7036d8a0105bbd84..22262c0952d2ab8ac972b52dc1573a74477f9cf0 100644
(file)
--- a/
inc/classes/main/template/image/class_ImageTemplateEngine.php
+++ b/
inc/classes/main/template/image/class_ImageTemplateEngine.php
@@
-185,7
+185,7
@@
class ImageTemplateEngine extends BaseTemplateEngine implements CompileableTempl
* @return void
* @throws XmlNodeMismatchException If current main node mismatches the closing one
*/
* @return void
* @throws XmlNodeMismatchException If current main node mismatches the closing one
*/
- public function
end
Element ($resource, $nodeName) {
+ public function
finish
Element ($resource, $nodeName) {
// Make all lower-case
$nodeName = strtolower($nodeName);
// Make all lower-case
$nodeName = strtolower($nodeName);
diff --git
a/inc/classes/main/template/mail/class_MailTemplateEngine.php
b/inc/classes/main/template/mail/class_MailTemplateEngine.php
index 0e5ce76074db42e84c72a3d4798a89a7ec309a99..308b266782c708bd99024cbc11708c9c2fc50d94 100644
(file)
--- a/
inc/classes/main/template/mail/class_MailTemplateEngine.php
+++ b/
inc/classes/main/template/mail/class_MailTemplateEngine.php
@@
-179,7
+179,7
@@
class MailTemplateEngine extends BaseTemplateEngine implements CompileableTempla
* @return void
* @throws XmlNodeMismatchException If current main node mismatches the closing one
*/
* @return void
* @throws XmlNodeMismatchException If current main node mismatches the closing one
*/
- protected function
end
Element ($resource, $nodeName) {
+ protected function
finish
Element ($resource, $nodeName) {
// Make all lower-case
$nodeName = strtolower($nodeName);
// Make all lower-case
$nodeName = strtolower($nodeName);
diff --git
a/inc/classes/main/template/menu/class_MenuTemplateEngine.php
b/inc/classes/main/template/menu/class_MenuTemplateEngine.php
index 91e204b97c0316fc5b3f9075f9b20c9baac011e9..9adf01e6c1bd5015952b4883f8773002aa7e3d70 100644
(file)
--- a/
inc/classes/main/template/menu/class_MenuTemplateEngine.php
+++ b/
inc/classes/main/template/menu/class_MenuTemplateEngine.php
@@
-239,7
+239,7
@@
class MenuTemplateEngine extends BaseTemplateEngine implements CompileableTempla
* @return void
* @throws XmlNodeMismatchException If current main node mismatches the closing one
*/
* @return void
* @throws XmlNodeMismatchException If current main node mismatches the closing one
*/
- public function
end
Element ($resource, $nodeName) {
+ public function
finish
Element ($resource, $nodeName) {
// Make all lower-case
$nodeName = strtolower($nodeName);
// Make all lower-case
$nodeName = strtolower($nodeName);