Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

domcharacterdata(3) [php man page]

DOMCHARACTERDATA(3)							 1						       DOMCHARACTERDATA(3)

The DOMCharacterData class

INTRODUCTION
Represents nodes with character data. No nodes directly correspond to this class, but other nodes do inherit from it. CLASS SYNOPSIS
DOMCharacterData DOMCharacterDataextends DOMNode Properties o public string$data o readonlypublic int$length Methods o void DOMCharacterData::appendData (string $data) o void DOMCharacterData::deleteData (int $offset, int $count) o void DOMCharacterData::insertData (int $offset, string $data) o void DOMCharacterData::replaceData (int $offset, int $count, string $data) o string DOMCharacterData::substringData (int $offset, int $count) Inherited methods o public DOMNode DOMNode::appendChild (DOMNode $newnode) o public string DOMNode::C14N ([bool $exclusive], [bool $with_comments], [array $xpath], [array $ns_prefixes]) o public int DOMNode::C14NFile (string $uri, [bool $exclusive], [bool $with_comments], [array $xpath], [array $ns_prefixes]) o public DOMNode DOMNode::cloneNode ([bool $deep]) o public int DOMNode::getLineNo (void ) o public string DOMNode::getNodePath (void ) o public bool DOMNode::hasAttributes (void ) o public bool DOMNode::hasChildNodes (void ) o public DOMNode DOMNode::insertBefore (DOMNode $newnode, [DOMNode $refnode]) o public bool DOMNode::isDefaultNamespace (string $namespaceURI) o public bool DOMNode::isSameNode (DOMNode $node) o public bool DOMNode::isSupported (string $feature, string $version) o public string DOMNode::lookupNamespaceURI (string $prefix) o public string DOMNode::lookupPrefix (string $namespaceURI) o public void DOMNode::normalize (void ) o public DOMNode DOMNode::removeChild (DOMNode $oldnode) o public DOMNode DOMNode::replaceChild (DOMNode $newnode, DOMNode $oldnode) PROPERTIES
o $data -The contents of the node. o $length -The length of the contents. SEE ALSO
oW3C specification of CharacterData PHP Documentation Group DOMCHARACTERDATA(3)

Check Out this Related Man Page

DOMELEMENT(3)								 1							     DOMELEMENT(3)

The DOMElement class

CLASS SYNOPSIS
DOMElement DOMElementextends DOMNode Properties o readonlypublic bool$schemaTypeInfo o readonlypublic string$tagName Methods o public DOMElement::__construct (string $name, [string $value], [string $namespaceURI]) o public string DOMElement::getAttribute (string $name) o public DOMAttr DOMElement::getAttributeNode (string $name) o public DOMAttr DOMElement::getAttributeNodeNS (string $namespaceURI, string $localName) o public string DOMElement::getAttributeNS (string $namespaceURI, string $localName) o public DOMNodeList DOMElement::getElementsByTagName (string $name) o public DOMNodeList DOMElement::getElementsByTagNameNS (string $namespaceURI, string $localName) o public bool DOMElement::hasAttribute (string $name) o public bool DOMElement::hasAttributeNS (string $namespaceURI, string $localName) o public bool DOMElement::removeAttribute (string $name) o public bool DOMElement::removeAttributeNode (DOMAttr $oldnode) o public bool DOMElement::removeAttributeNS (string $namespaceURI, string $localName) o public DOMAttr DOMElement::setAttribute (string $name, string $value) o public DOMAttr DOMElement::setAttributeNode (DOMAttr $attr) o public DOMAttr DOMElement::setAttributeNodeNS (DOMAttr $attr) o public void DOMElement::setAttributeNS (string $namespaceURI, string $qualifiedName, string $value) o public void DOMElement::setIdAttribute (string $name, bool $isId) o public void DOMElement::setIdAttributeNode (DOMAttr $attr, bool $isId) o public void DOMElement::setIdAttributeNS (string $namespaceURI, string $localName, bool $isId) Inherited methods o public DOMNode DOMNode::appendChild (DOMNode $newnode) o public string DOMNode::C14N ([bool $exclusive], [bool $with_comments], [array $xpath], [array $ns_prefixes]) o public int DOMNode::C14NFile (string $uri, [bool $exclusive], [bool $with_comments], [array $xpath], [array $ns_prefixes]) o public DOMNode DOMNode::cloneNode ([bool $deep]) o public int DOMNode::getLineNo (void ) o public string DOMNode::getNodePath (void ) o public bool DOMNode::hasAttributes (void ) o public bool DOMNode::hasChildNodes (void ) o public DOMNode DOMNode::insertBefore (DOMNode $newnode, [DOMNode $refnode]) o public bool DOMNode::isDefaultNamespace (string $namespaceURI) o public bool DOMNode::isSameNode (DOMNode $node) o public bool DOMNode::isSupported (string $feature, string $version) o public string DOMNode::lookupNamespaceURI (string $prefix) o public string DOMNode::lookupPrefix (string $namespaceURI) o public void DOMNode::normalize (void ) o public DOMNode DOMNode::removeChild (DOMNode $oldnode) o public DOMNode DOMNode::replaceChild (DOMNode $newnode, DOMNode $oldnode) PROPERTIES
o $schemaTypeInfo -Not implemented yet, always return NULL o $tagName -The element name NOTES
Note The DOM extension uses UTF-8 encoding. Use utf8_encode(3) and utf8_decode(3) to work with texts in ISO-8859-1 encoding or Iconv for other encodings. PHP Documentation Group DOMELEMENT(3)
Man Page