cvs: php-gtk-doc /manual demo_manual.xml /stylesheets/common en.xml /stylesheets/html class.xsl hierarchy.xsl

From: Date: Thu, 22 Dec 2005 00:21:16 +0000
Subject: cvs: php-gtk-doc /manual demo_manual.xml /stylesheets/common en.xml /stylesheets/html class.xsl hierarchy.xsl
Groups: php.gtk.doc 
Request: Send a blank email to php-gtk-doc+get-1724@lists.php.net to get a copy of this message
cweiske Thu Dec 22 00:21:16 2005 EDT Modified files: /php-gtk-doc/stylesheets/common en.xml /php-gtk-doc/stylesheets/html class.xsl hierarchy.xsl /php-gtk-doc/manual demo_manual.xml Log: Basic support to display a list of "implemented interfaces" http://cvs.php.net/viewcvs.cgi/php-gtk-doc/stylesheets/common/en.xml?r1=1.13&r2=1.14&diff_format=u Index: php-gtk-doc/stylesheets/common/en.xml diff -u php-gtk-doc/stylesheets/common/en.xml:1.13 php-gtk-doc/stylesheets/common/en.xml:1.14 --- php-gtk-doc/stylesheets/common/en.xml:1.13 Sun Oct 23 09:59:17 2005 +++ php-gtk-doc/stylesheets/common/en.xml Thu Dec 22 00:21:16 2005 @@ -8,6 +8,7 @@ <gentext key="description" text="Description"/> <gentext key="directsubclasses" text="Direct subclasses"/> <gentext key="editedby" text="Edited by"/> + <gentext key="implementedinterfaces" text="Implemented interfaces"/> <gentext key="listofexamples" text="List of Examples"/> <gentext key="listoffigures" text="List of Figures"/> <gentext key="listoftables" text="List of Tables"/> http://cvs.php.net/viewcvs.cgi/php-gtk-doc/stylesheets/html/class.xsl?r1=1.21&r2=1.22&diff_format=u Index: php-gtk-doc/stylesheets/html/class.xsl diff -u php-gtk-doc/stylesheets/html/class.xsl:1.21 php-gtk-doc/stylesheets/html/class.xsl:1.22 --- php-gtk-doc/stylesheets/html/class.xsl:1.21 Sun Oct 23 05:56:05 2005 +++ php-gtk-doc/stylesheets/html/class.xsl Thu Dec 22 00:21:16 2005 @@ -384,6 +384,8 @@ </p> </xsl:if> + <xsl:call-template name="implementedinterfaces" /> + <p> <h3> <xsl:call-template name="gentext"> @@ -671,7 +673,7 @@ <xsl:template match="funcsynopsis"> <xsl:apply-templates select="funcprototype"/> </xsl:template> - + <xsl:template match="property"> <div> <a> @@ -704,5 +706,5 @@ </p> </div> </xsl:template> - + </xsl:stylesheet> http://cvs.php.net/viewcvs.cgi/php-gtk-doc/stylesheets/html/hierarchy.xsl?r1=1.10&r2=1.11&diff_format=u Index: php-gtk-doc/stylesheets/html/hierarchy.xsl diff -u php-gtk-doc/stylesheets/html/hierarchy.xsl:1.10 php-gtk-doc/stylesheets/html/hierarchy.xsl:1.11 --- php-gtk-doc/stylesheets/html/hierarchy.xsl:1.10 Mon Apr 11 21:54:44 2005 +++ php-gtk-doc/stylesheets/html/hierarchy.xsl Thu Dec 22 00:21:16 2005 @@ -248,4 +248,47 @@ </xsl:template> + + +<!-- + Lists all implemented interfaces of a the current classset +--> + <xsl:template name="implementedinterfaces"> + <xsl:if test="./classmeta/implements"> + <h3> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">implementedinterfaces</xsl:with-param> + </xsl:call-template> + </h3> + <blockquote> + <div class="literallayout"> + <xsl:for-each select="./classmeta/implements"> + <xsl:variable name="id"> + <xsl:call-template name="get_id_from_name"> + <xsl:with-param name="classname" select="."/> + </xsl:call-template> + </xsl:variable> + <xsl:variable name="link"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="id($id)"/> + </xsl:call-template> + </xsl:variable> + <span dir="ltr"> + <a> + <xsl:attribute name="href"> + <xsl:value-of select="$link" /> + </xsl:attribute> + <xsl:value-of select="." /> + </a> + </span> + <xsl:if test="position()!=last()"> + <xsl:text>, </xsl:text> + </xsl:if> + </xsl:for-each> + </div> + </blockquote> + </xsl:if> + </xsl:template> + + </xsl:stylesheet> \ No newline at end of file http://cvs.php.net/viewcvs.cgi/php-gtk-doc/manual/demo_manual.xml?r1=1.3&r2=1.4&diff_format=u Index: php-gtk-doc/manual/demo_manual.xml diff -u php-gtk-doc/manual/demo_manual.xml:1.3 php-gtk-doc/manual/demo_manual.xml:1.4 --- php-gtk-doc/manual/demo_manual.xml:1.3 Mon Oct 24 05:14:22 2005 +++ php-gtk-doc/manual/demo_manual.xml Thu Dec 22 00:21:16 2005 @@ -23,10 +23,27 @@ <classmeta> <classtitle>BroOpera</classtitle> <classparent>SowProgram</classparent> + <implements>Interface1</implements> + <implements>BroOpera</implements> <shortdesc> The fastest browser on earth </shortdesc> <desc> + <para> + The manual knows four types of links between pages: + </para> + <itemizedlist> + <listitem> + <para> + <emphasis>Class links</emphasis> link to the overview page of a + certain class. Use + <programlisting role="xml"><![CDATA[ +<classname>MyClass</classname> +]]></programlisting> + to link to the MyClass overview page. + </para> + </listitem> + </itemizedlist> </desc> </classmeta>

« previous php.gtk.doc (#1724) next »