php4DomElement
More...
php4DomElement
Definition at line 254 of file inc.xml5compliance.php.
◆ get_attribute() [1/2]
php4DOMElement::get_attribute |
( |
|
$name | ) |
|
◆ get_attribute() [2/2]
php4DOMElement::get_attribute |
( |
|
$name | ) |
|
◆ get_content() [1/2]
php4DOMElement::get_content |
( |
| ) |
|
Definition at line 256 of file inc.xml5compliance.php.
258 $text_node = &$this->myDOMNode->firstChild;
260 if (is_object($text_node)) {
261 return $text_node->textContent;
◆ get_content() [2/2]
php4DOMElement::get_content |
( |
| ) |
|
Definition at line 319 of file inc.xml5compliance.php.
321 $text_node = $this->myDOMNode->firstChild;
323 if (is_object($text_node)) {
324 return $text_node->textContent;
◆ get_elements_by_tagname() [1/2]
php4DOMElement::get_elements_by_tagname |
( |
|
$name | ) |
|
Definition at line 203 of file inc.xml5compliance.php.
References $i, and $name.
205 $myDOMNodeList = $this->myDOMNode->getElementsByTagName(
$name);
208 while ($node = $myDOMNodeList->item(
$i)) {
◆ get_elements_by_tagname() [2/2]
php4DOMElement::get_elements_by_tagname |
( |
|
$name | ) |
|
Definition at line 266 of file inc.xml5compliance.php.
References $i, and $name.
268 $myDOMNodeList = $this->myDOMNode->getElementsByTagName(
$name);
271 while ($node = $myDOMNodeList->item(
$i)) {
◆ has_attribute() [1/2]
php4DOMElement::has_attribute |
( |
|
$name | ) |
|
◆ has_attribute() [2/2]
php4DOMElement::has_attribute |
( |
|
$name | ) |
|
◆ owner_document()
php4DOMElement::owner_document |
( |
| ) |
|
◆ remove_attribute() [1/2]
php4DOMElement::remove_attribute |
( |
|
$name | ) |
|
◆ remove_attribute() [2/2]
php4DOMElement::remove_attribute |
( |
|
$name | ) |
|
◆ set_attribute() [1/2]
php4DOMElement::set_attribute |
( |
|
$name, |
|
|
|
$value |
|
) |
| |
◆ set_attribute() [2/2]
php4DOMElement::set_attribute |
( |
|
$name, |
|
|
|
$value |
|
) |
| |
◆ set_content() [1/2]
php4DOMElement::set_content |
( |
|
$text | ) |
|
Definition at line 237 of file inc.xml5compliance.php.
242 $text = str_replace(
"<",
"<", $text);
243 $text = str_replace(
">",
">", $text);
244 $text = str_replace(
"&",
"&", $text);
246 $text_node =
new DOMText();
247 $text_node->appendData($text);
248 if (is_object($this->myDOMNode->firstChild)) {
249 $this->myDOMNode->replaceChild($text_node, $this->myDOMNode->firstChild);
251 $this->myDOMNode->appendChild($text_node);
◆ set_content() [2/2]
php4DOMElement::set_content |
( |
|
$text | ) |
|
Definition at line 300 of file inc.xml5compliance.php.
305 $text = str_replace(
"<",
"<", $text);
306 $text = str_replace(
">",
">", $text);
307 $text = str_replace(
"&",
"&", $text);
309 $text_node =
new DOMText();
310 $text_node->appendData($text);
311 if (is_object($this->myDOMNode->firstChild)) {
312 $this->myDOMNode->replaceChild($text_node, $this->myDOMNode->firstChild);
314 $this->myDOMNode->appendChild($text_node);
◆ tagname() [1/2]
php4DOMElement::tagname |
( |
| ) |
|
◆ tagname() [2/2]
php4DOMElement::tagname |
( |
| ) |
|
◆ unlink() [1/2]
php4DOMElement::unlink |
( |
|
$aDomNode | ) |
|
◆ unlink() [2/2]
php4DOMElement::unlink |
( |
|
$aDomNode | ) |
|
The documentation for this class was generated from the following file: