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

search for in the

DOMException> <DOMEntityReference
[edit] Last updated: Fri, 23 Mar 2012

view this page in

DOMEntityReference::__construct

(PHP 5)

DOMEntityReference::__constructYeni bir DOMEntityReference nesnesi oluşturur

Açıklama

__construct ( string $isim )

Yeni bir DOMEntityReference nesnesi oluşturur.

Değiştirgeler

isim

Öğe gönderiminin ismi.

Örnekler

Örnek 1 Yeni bir DOMEntityReference oluşturmak

<?php

$dom 
= new DOMDocument('1.0''utf-8');
$element $dom->appendChild(new DOMElement('root'));
$entity $element->appendChild(new DOMEntityReference('nbsp'));
echo 
$dom->saveXML(); /* <?xml version="1.0" encoding="utf-8"?><root>&nbsp;</root> */

?>

Ayrıca Bakınız



add a note add a note User Contributed Notes DOMEntityReference::__construct
There are no user contributed notes for this page.

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