note 66502 deleted from ref.simplexml by bjori

From: Date: Wed, 24 May 2006 17:16:24 +0000
Subject: note 66502 deleted from ref.simplexml by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-111947@lists.php.net to get a copy of this message
Note Submitter: moron Reason: in docs ---- I saw this somewhere but cant find it now and dont see it in the docs, anyway there are some new methods in the latest & greatest (I have PHP 5.1.4). /* the method table */ /* each method can have its own parameters and visibility */ static zend_function_entry sxe_functions[] = { SXE_ME(__construct, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) /* must be called */ SXE_ME(asXML, NULL, ZEND_ACC_PUBLIC) SXE_ME(xpath, NULL, ZEND_ACC_PUBLIC) SXE_ME(registerXPathNamespace, NULL, ZEND_ACC_PUBLIC) SXE_ME(attributes, NULL, ZEND_ACC_PUBLIC) SXE_ME(children, NULL, ZEND_ACC_PUBLIC) SXE_ME(getNamespaces, NULL, ZEND_ACC_PUBLIC) SXE_ME(getDocNamespaces, NULL, ZEND_ACC_PUBLIC) SXE_ME(getName, NULL, ZEND_ACC_PUBLIC) SXE_ME(addChild, NULL, ZEND_ACC_PUBLIC) SXE_ME(addAttribute, NULL, ZEND_ACC_PUBLIC) {NULL, NULL, NULL} }; Notably: proto void SimpleXMLElement::addChild(string qName [, string value [,string ns]]) Add Element with optional namespace information proto void SimpleXMLElement::addAttribute(string qName, string value [,string ns]) Add Attribute with optional namespace information Hooray!

« previous php.notes (#111947) next »