|
dolibarr 21.0.0-beta
|
Library of repair functions. More...
Go to the source code of this file.
Functions | |
| checkElementExist ($id, $table) | |
| Check if an element exist. | |
| checkLinkedElements ($sourcetype, $targettype) | |
| Check linked elements and delete if invalid. | |
| clean_data_ecm_directories () | |
| Clean data into ecm_directories table. | |
Library of repair functions.
Definition in file repair.lib.php.
| checkElementExist | ( | $id, | |
| $table ) |
Check if an element exist.
| int | $id | Element id |
| string | $table | Table of Element |
Definition at line 31 of file repair.lib.php.
References $id.
Referenced by checkLinkedElements().
| checkLinkedElements | ( | $sourcetype, | |
| $targettype ) |
Check linked elements and delete if invalid.
| string | $sourcetype | Source element type |
| string | $targettype | Target element type |
Definition at line 57 of file repair.lib.php.
References checkElementExist().
| clean_data_ecm_directories | ( | ) |
Clean data into ecm_directories table.
Definition at line 130 of file repair.lib.php.
References $id, dol_print_error(), and dol_sanitizeFileName().