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

search for in the

DomDocumentType->system_id()> <DomDocumentType->notations()
Last updated: Fri, 05 Sep 2008

view this page in

DomDocumentType->public_id()

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

DomDocumentType->public_id() Retourne l'identifiant public du type de document

Description

DomDocumentType
string public_id ( void )

Cette fonction retourne l'identifiant public du type de document.

Valeurs de retour

Retourne l'identifiant public de DomDocumentType, comme une chaîne de caractères.

Exemples

L'exemple ci-dessous n'affichera rien.

Exemple #1 Lire l'identifiant public avec DOM XML

<?php
include("exemple.inc");

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

$doctype $dom->doctype();
echo 
$doctype->public_id();
?>

Migration vers PHP 5

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



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

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