(PHP 4 >= 4.1.0)
DomDocumentType::system_id — Belge türünün sistem betimleyicisini döndürür
Belge türünün sistem betimleyicisini döndürür.
Belge türünün sistem betimleyicisini bir dizge olarak döndürür.
Örnek 1 - Sistem betimleyicisini 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->system_id();
?>
Yukarıdaki örneğin çıktısı:
/share/sgml/Norman_Walsh/db3xml10/db3xml10.dtd
DOMDocumentType nesnesinin systemId özelliğini kullanın.