mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-15 11:59:56 +00:00
comments
This commit is contained in:
parent
4ac663f665
commit
7fa5668c65
|
@ -58,6 +58,12 @@ class Node {
|
|||
}
|
||||
|
||||
public function getType() {
|
||||
/*
|
||||
* Node type generation is based on XML tag name.
|
||||
* It's worth to remember that SimpleXMLElement::getName method is
|
||||
* case - sensitive ( "<Data>" != "<data>" ), so we need to sanitize Node Type
|
||||
* by using strtolower function
|
||||
*/
|
||||
return strtolower( $this->xmlNode->getName() );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue