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

search for in the

DomDocument->create_element_ns> <DomDocument->create_cdata_section
Last updated: Fri, 05 Sep 2008

view this page in

DomDocument->create_comment

(No version information available, might be only in CVS)

DomDocument->create_comment新規コメントノードを作成する

説明

domcomment DomDocument->create_comment ( string $content )

この関数は DomComment クラスの新規インスタンスを返します。 コメントの内容は渡されたパラメータの値です。このノードは、(たとえば) domnode_append_child() などで挿入されない限り、ドキュメント内に現われません。

エラーが発生した場合、戻り値は FALSE です。

domnode_append_child(), domdocument_create_element(), domdocument_create_text(), domdocument_create_attribute(), domdocument_create_processing_instruction(), domdocument_create_entity_reference(), domnode_insert_before() も参照ください。



add a note add a note User Contributed Notes
DomDocument->create_comment
There are no user contributed notes for this page.

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