[Doc] Added types available

This commit is contained in:
Francis Besset 2011-08-29 22:20:24 +02:00
parent c18cede7ab
commit 57b35c5e62
3 changed files with 34 additions and 8 deletions

View File

@ -65,26 +65,26 @@
<argument>string</argument>
<argument>xsd:string</argument>
</call>
<call method="addDefaultTypeMapping">
<argument>int</argument>
<argument>xsd:int</argument>
</call>
<call method="addDefaultTypeMapping">
<argument>boolean</argument>
<argument>xsd:boolean</argument>
</call>
<call method="addDefaultTypeMapping">
<argument>int</argument>
<argument>xsd:int</argument>
</call>
<call method="addDefaultTypeMapping">
<argument>float</argument>
<argument>xsd:float</argument>
</call>
<call method="addDefaultTypeMapping">
<argument>dateTime</argument>
<argument>xsd:dateTime</argument>
</call>
<call method="addDefaultTypeMapping">
<argument>date</argument>
<argument>xsd:date</argument>
</call>
<call method="addDefaultTypeMapping">
<argument>dateTime</argument>
<argument>xsd:dateTime</argument>
</call>
</service>
</services>

View File

@ -13,6 +13,7 @@ Reference Guide
reference/installation
reference/configuration
reference/types
Tutorial
--------

View File

@ -0,0 +1,25 @@
Types available
===============
+----------+-----------------+
| Php Type | XML Type |
+==========+=================+
| string | `xsd:string`_ |
+----------+-----------------+
| boolean | `xsd:boolean`_ |
+----------+-----------------+
| int | `xsd:int`_ |
+----------+-----------------+
| float | `xsd:float`_ |
+----------+-----------------+
| date | `xsd:date`_ |
+----------+-----------------+
| dateTime | `xsd:dateTime`_ |
+----------+-----------------+
.. _`xsd:string`: http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#string
.. _`xsd:boolean`: http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#boolean
.. _`xsd:int`: http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#int
.. _`xsd:float`: http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#float
.. _`xsd:date`: http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#date
.. _`xsd:dateTime`: http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#dateTime