PhD TypeMaps.

From: Date: Thu, 13 May 2010 09:32:25 +0000
Subject: PhD TypeMaps.
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969381821@lists.php.net to get a copy of this message
Hi. In the Package_Generic_XHTML::$myelementmap, when a tag has multiple mappings, what is the relationship between the element and the multiple mappings. Is it a direct parent/child relationship or is it ancestor. I'm having an issue with generating the correct output for ... <methodsynopsis> <void /> <methodname>__destruct</methodname> <void /> </methodsynopsis> According to http://www.docbook.org/xml/5.0/dtd/docbook.dtd / , this is valid markup (and passes validation) ... <!ELEMENT methodsynopsis ((modifier)*, ((type|void))?, methodname, ((methodparam)+|void), (exceptionname)*, (modifier)*)> Though the first type or void is optional (should a lack of a return type imply void automatically?), it's presence needs to be acknowledged separately to the void parameter. OR Due to this issue, are we standardising on using <type>void</type> Ideally I'd like a way to tell PhD to differentiate between <void /> following and not following <methodname>. -- ----- Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 ZOPA : http://uk.zopa.com/member/RQuadling

« previous php.doc (#969381821) next »