setConfig

setConfig(string $configName, mixed $configValue)

Quickly set a configuration name that will be specific for your CRUD. Really useful for some CRUD that have slightly different configurations than the generic configurations.

Example:

$crud->setTable('customers');
$crud->setSubject('Customer', 'Customers');

// Example: Disable backend cache only for customers CRUD as 
// we are still not sure which structure the database will have
$crud->setConfig('backend_cache', false);

$output = $crud->render();