DomDocumentType::public_id
(PHP 4 >= 4.1.0)
DomDocumentType::public_id — Belge türünün genel betimleyicisini döndürür
Açıklama
string DomDocumentType::public_id
( void
)
Belge türünün genel betimleyicisini döndürür.
Dönen Değerler
Belge türünün genel betimleyicisini bir dizge olarak döndürür.
Örnekler
Aşağıdaki örnek hiçbir şey çıktılamaz.
Örnek 1 - Genel betimleyiciyi döndürmek
<?php
include("example.inc");
if (!$dom = domxml_open_mem($xmlstr)) {
echo "Belge çözümlenirken hata oluştu\n";
exit;
}
$doctype = $dom->doctype();
echo $doctype->public_id();
?>
PHP 5'e yükseltme
DOMDocumentType nesnesinin publicId özelliğini kullanın.
DomDocumentType::public_id
There are no user contributed notes for this page.
