Function DatabaseRepair->cleanup_mysql_field_type
Definitions
sources/database_repair.php
- Convert a MySQL field type to something we can compare against.
- Visibility: private
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$raw_type | ID_TEXT | No | No | required parameter | N/A | N/A | Field type |
Returns
- Field type
- Type: ID_TEXT
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Convert a MySQL field type to something we can compare against.
*
* @param ID_TEXT $raw_type Field type
* @return ID_TEXT Field type
*/
private function cleanup_mysql_field_type(string $raw_type) : string
* Convert a MySQL field type to something we can compare against.
*
* @param ID_TEXT $raw_type Field type
* @return ID_TEXT Field type
*/
private function cleanup_mysql_field_type(string $raw_type) : string