downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

DOMDocument::createProcessingInstruction> <DOMDocument::createElementNS
[edit] Last updated: Fri, 25 May 2012

view this page in

DOMDocument::createEntityReference

(PHP 5)

DOMDocument::createEntityReference新しいエンティティ参照ノードを作成する

説明

DOMEntityReference DOMDocument::createEntityReference ( string $name )

この関数は、DOMEntityReference クラスの新しいインスタンスを作成します。このノードは、( DOMNode::appendChild() などで) 挿入されない限り、ドキュメント内にあらわれません。

パラメータ

name

エンティティ参照の内容、つまり、エンティティ参照から 先頭の & および末尾の ; を取り除いたもの。

返り値

新しい DOMEntityReference、 あるいはエラーが発生した場合には FALSE を返します。

エラー / 例外

DOM_INVALID_CHARACTER_ERR

name が無効な文字を含んでいる場合に発生します。

参考



add a note add a note User Contributed Notes DOMDocument::createEntityReference
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites