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, 10 Oct 2008

view this page in

DomDocumentType->name()

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

DomDocumentType->name() Retourne le nom du type de document

Description

DomDocumentType
string name ( void )

Cette fonction retourne le nom du type de document.

Valeurs de retour

Retourne le nom de DomDocumentType, comme une chaîne de caractères.

Exemples

Exemple #1 Récupération du nom du type du document

<?php

include("example.inc");

if (!
$dom domxml_open_mem($xmlstr)) {
    echo 
"Erreur pendant l'analyse du document\n";
    exit;
}

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

?>

Migration vers PHP 5

Utilisez la propriété name de l'objet DOMDocumentType.



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