In case you've missed it, you are looking at an older version of the website. Checkout our latest version, we promise you will love it 😍

change_field_type

void change_field_type( string $field , string $field_type [ , string $value ] )
Quick Description: Changes the default field type

This method has been deprecated and it is highly recommended to use field_type instead that works with the exact same way .

For example when we have:

$crud->field_type('field_name', 'password');
it is exactly the same thing with:
$crud->change_field_type('field_name', 'password');