cvs: peardoc /en/package/structures/structures-datagrid/structures-datagrid-renderer xul.xml

From: Date: Sat, 25 Nov 2006 21:08:38 +0000
Subject: cvs: peardoc /en/package/structures/structures-datagrid/structures-datagrid-renderer xul.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-8892@lists.php.net to get a copy of this message
wiesemann Sat Nov 25 21:08:38 2006 UTC Modified files: /peardoc/en/package/structures/structures-datagrid/structures-datagrid-renderer xul.xml Log: - sync doc block fix from source code http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-renderer/xul.xml?r1=1.3&r2=1.4&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-renderer/xul.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid-renderer/xul.xml:1.3 peardoc/en/package/structures/structures-datagrid/structures-datagrid-renderer/xul.xml:1.4 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid-renderer/xul.xml:1.3 Sat Nov 25 20:49:22 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-renderer/xul.xml Sat Nov 25 21:08:38 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-renderer.xul"> <refnamediv> <refname>Structures_DataGrid_Renderer_XUL</refname> @@ -88,10 +88,49 @@ <entry>Whether to right-align numeric values.</entry> <entry>true</entry> </row> + <row> + <entry>selfPath</entry> + <entry>string</entry> + <entry>The complete path for sorting and paging links</entry> + <entry>$_SERVER['PHP_SELF']</entry> + </row> </tbody> </tgroup> </table> </refsect1> + <refsect1 id="package.structures.structures-datagrid.structures-datagrid-renderer.xul.notes"> + <title>General notes</title> + <para> + This renderer class will render a XUL listbox. + For additional information on the XUL Listbox, refer to this url: + http://www.xulplanet.com/references/elemref/ref_listbox.html + </para> + <para> + You have to setup your XUL document, just as you would with an HTML + document. This driver will only generated the &lt;listbox&gt; element and + content. + </para> + <para> + Basic example: + <programlisting> +&lt;?php +header('Content-type: application/vnd.mozilla.xul+xml'); + +echo &quot;&lt;?xml version=\&quot;1.0\&quot; encoding=\&quot;ISO-8859-1\&quot;?&gt;\n&quot;; +echo &quot;&lt;?xml-stylesheet href=\&quot;myStyle.css\&quot; type=\&quot;text/css\&quot;?&gt;\n&quot;; + +echo &quot;&lt;window title=\&quot;MyDataGrid\&quot; + xmlns=\&quot;http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul\&quot;&gt;\n&quot;; + +// Instantiate your datagrid and setup its datasource, then call: +$datagrid-&gt;setRenderer('XUL'); +$datagrid-&gt;render(); + +echo &quot;&lt;/window&gt;\n&quot;; +?&gt; + </programlisting> + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables:

« previous php.pear.doc (#8892) next »