Brimbox Logo Brimbox Version 2.3.4 Released

cleanup_database_layouts>>

Method to remove all data, columns and associated dropdowns from layouts that have been removed and no longer exist. Any rows of data that are related to unused layouts will are removed.

Class:

File: bb_main.php (php)

Declaration:

function cleanup_database_layouts($con)

Usage:

$main->clean_database_layouts($con);

Action: Deletes all data rows for unspecified or removed layouts. Will also unset column and dropdown JSON for layouts that do not exist.

Parameter: $con (database connector)
Valid database connection.

Updated: 2016-06-16