svn: /phpdoc/fr/trunk/test/ classname.xml

From: Date: Sun, 11 Apr 2010 19:20:29 +0000
Subject: svn: /phpdoc/fr/trunk/test/ classname.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-7889@lists.php.net to get a copy of this message
yannick Sun, 11 Apr 2010 19:20:29 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=297840 Log: Test from online Editor. Please, ignore. Changed paths: A phpdoc/fr/trunk/test/classname.xml Added: phpdoc/fr/trunk/test/classname.xml =================================================================== --- phpdoc/fr/trunk/test/classname.xml (rev 0) +++ phpdoc/fr/trunk/test/classname.xml 2010-04-11 19:20:29 UTC (rev 297840) @@ -0,0 +1,126 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision$ --> + +This is a test from PhDOE, please, ignore it. + +Step for this test : + +* create a new folder named "test" +* create a new file on it from a skeleton (classname.xml) +* commit this new file (this action will commit this new folder too) + +<phpdoc:classref xml:id="class.classname" + xmlns:phpdoc="http://php.net/ns/phpdoc" + xmlns="http://docbook.org/ns/docbook" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:xi="http://www.w3.org/2001/XInclude" + xmlns="http://docbook.org/ns/docbook"> + <title>The ClassName class</title> + <titleabbrev>ClassName</titleabbrev> + + <partintro> + +<!-- {{{ ClassName intro --> + <section xml:id="classname.intro"> + &reftitle.intro; + <para> + Description of the class. + </para> + </section> +<!-- }}} --> + + <section xml:id="classname.synopsis"> + &reftitle.classsynopsis; + +<!-- {{{ Synopsis --> + <classsynopsis> + <ooclass><classname>ClassName</classname></ooclass> + +<!-- {{{ Class synopsis --> + <classsynopsisinfo> + <ooclass> + <classname>ClassName</classname> + </ooclass> + +<!-- If the class extends another one, use this + <ooclass> + <modifier>extends</modifier> + <classname>BaseClassName</classname> + </ooclass> +--> + +<!-- If the class implements an interface, or two, use this (one oointerface element per interface) + <oointerface> + <interfacename>InterfaceName</interfacename> + </oointerface> +--> + </classsynopsisinfo> +<!-- }}} --> + + <classsynopsisinfo role="comment">Properties</classsynopsisinfo> +<!-- If the property is documented below (xml:id=classname.props) use this + <fieldsynopsis> + <modifier>public</modifier> + <type>string</type> + <varname linkend="classname.props.name">name</varname> + </fieldsynopsis> +--> + +<!-- If properties are documented "as a method", use this + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.classname')/db:refentry/db:refsect1[@role='description']/descendant::db:fieldsynopsis[1])" /> +--> + + <classsynopsisinfo role="comment">Methods</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.classname')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> + +<!-- If the class extends a class use this + <classsynopsisinfo role="comment">Inherited methods</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.baseclassname')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> + </classsynopsis> +--> +<!-- }}} --> + + </section> + +<!-- {{{ ClassName properties + <section xml:id="classname.props"> + &reftitle.properties; + <variablelist> + <varlistentry xml:id="classname.props.name"> + <term><varname>name</varname></term> + <listitem> + <para>Prop description</para> + </listitem> + </varlistentry> + </variablelist> + </section> +--> +<!-- }}} --> + + </partintro> + + &reference.extname.entities.classname; + +</phpdoc:classref> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"~/.phpdoc/manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> + Property changes on: phpdoc/fr/trunk/test/classname.xml ___________________________________________________________________ Added: svn:keywords + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL Added: svn:eol-style + native

« previous php.doc.fr (#7889) next »