Skip to content
Snippets Groups Projects
Unverified Commit 33179d05 authored by mattwire's avatar mattwire Committed by GitHub
Browse files

Merge pull request #565 from seamuslee001/lab_505

Add in documentation of crmType and phpType setting now avaliable as …
parents 7e3b7539 199beeee
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 | `CRM_Utils_Type::T_STRING` | 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 | `string` | 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