DOMAttr::isId
DOMCharacterData::appendData
DOM
PHP Manual

# The DOMCharacterData class

## 소개

Represents nodes with character data. No nodes directly correspond to this class, but other nodes do inherit from it.

## 클래스 개요

DOMCharacterData
DOMCharacterData extends DOMNode {
/* Properties */
public string $data ;
readonly public int $length ;
/* Methods */
void appendData ( string `$data` )
void deleteData ( int `$offset` , int `$count` )
void insertData ( int `$offset` , string `$data` )
void replaceData ( int `$offset` , int `$count` , string `$data` )
string substringData ( int `$offset` , int `$count` )
/* Inherited methods */
DOMNode DOMNode::appendChild ( DOMNode `$newnode` )
DOMNode DOMNode::cloneNode ([ bool `$deep` ] )
public int DOMNode::getLineNo ( void )
bool DOMNode::hasAttributes ( void )
bool DOMNode::hasChildNodes ( void )
DOMNode DOMNode::insertBefore ( DOMNode `$newnode` [, DOMNode `$refnode` ] )
bool DOMNode::isDefaultNamespace ( string `$namespaceURI` )
bool DOMNode::isSameNode ( DOMNode `$node` )
bool DOMNode::isSupported ( string `$feature` , string `$version` )
string DOMNode::lookupNamespaceURI ( string `$prefix` )
string DOMNode::lookupPrefix ( string `$namespaceURI` )
void DOMNode::normalize ( void )
DOMNode DOMNode::removeChild ( DOMNode `$oldnode` )
DOMNode DOMNode::replaceChild ( DOMNode `$newnode` , DOMNode `$oldnode` )
}

## 프로퍼티

data

  The contents of the node.

length

  The length of the contents.

## 참고

- » W3C specification of CharacterData

## Table of Contents

- DOMCharacterData::appendData — Append the string to the end of the character data of the node
- DOMCharacterData::deleteData — Remove a range of characters from the node
- DOMCharacterData::insertData — Insert a string at the specified 16-bit unit offset
- DOMCharacterData::replaceData — Replace a substring within the DOMCharacterData node
- DOMCharacterData::substringData — Extracts a range of data from the node

DOMAttr::isId
DOMCharacterData::appendData
DOM
PHP Manual