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

search for in the

DomDocumentType->notations> <DomDocumentType->internal_subset
Last updated: Fri, 29 Aug 2008

view this page in

DomDocumentType->name

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

DomDocumentType->name 文章型の名前を返す

説明

DomDocumentType
string name ( void )

この関数は文章型の名前を返します。

返り値

DomDocumentType の名前を文字列として返します。

例1 文章型の名前を取得する

<?php

include("example.inc");

if (!
$dom domxml_open_mem($xmlstr)) {
    echo 
"Error while parsing the document\n";
    exit;
}

$doctype $dom->doctype();
echo 
$doctype->name(); // chapter

?>

PHP 5 への移行

DOMDocumentType オブジェクトの name プロパティを使用してください。



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

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