]> granicus.if.org Git - php/commitdiff
<code> inside <function> was supported but missing from the DTD,
authorHartmut Holzgraefe <hholzgra@php.net>
Wed, 19 Feb 2003 14:48:17 +0000 (14:48 +0000)
committerHartmut Holzgraefe <hholzgra@php.net>
Wed, 19 Feb 2003 14:48:17 +0000 (14:48 +0000)
added "role" attribute to support "internal" functions like
MINIT and stuff, "private" C functions not to be published as
PHP functions and "public" implemenations of PHP functions

scripts/ext_skel_ng/extension.dtd

index 533dac8a7bae9bcd34afcd100e77754f7091f599..d8091c2e484d98846f3fb37e6976c8f0269199a5 100644 (file)
 <!ELEMENT notes (#PCDATA)>
 
 <!ELEMENT functions (function)*>
-<!ELEMENT function (summary,proto,description*)>
+<!ELEMENT function (summary|proto|description|code)*>
 <!ATTLIST function
+  role  (internal|private|public) "public"
   name  CDATA #REQUIRED
 >
 <!ELEMENT proto (#PCDATA)>  
+<!ELEMENT code  (#PCDATA)>  
 
 <!ELEMENT constants (constant)*>
 <!ELEMENT constant (#PCDATA)>