Skip to content
Snippets Groups Projects
Commit 0ef131e5 authored by Seamus Lee's avatar Seamus Lee
Browse files

Add in documentation of crmType and phpType setting now avaliable as of CiviCRM 5.9 for Extensions

parent 7f8191fb
No related branches found
No related tags found
No related merge requests found
......@@ -105,6 +105,8 @@ Tags acceptable within `<table>` / `<field>`
| `<html>` | [tags](#table-field-html) | | 0 or 1 | Settings for the form element to use for this field |
| `<pseudoconstant>` | [tags](#table-field-pseudoconstant) | | 0 or 1 | See [notes below](#table-field-pseudoconstant) |
| `<serialize>` | text| | 0 or 1 | Method to serialize array data. For new fields use JSON |
| `<crmType>` | text | 0 or 1 | Primarily used by extensions to specify an acceptable for type as under the `CRM_Utils_Type` class where the MySQL column type doesn't match directly to one. |
| `<phpType` | text | 0 or 1 | Extensions can override this with a specific format of PHP type of data. |
`<type>` should be one of the following values which correspond to [MySQL data types](https://dev.mysql.com/doc/refman/en/data-types.html)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment