Function __global->make_table_backup
Definitions
sources/backup.php
- Write PHP code for the restoration of database data into file.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $log_file | resource | No | No | required parameter | N/A | N/A | The log file to write to |
| $db_meta | ID_TEXT | No | No | required parameter | N/A | N/A | The meta tablename |
| $db_meta_indices | ID_TEXT | No | No | required parameter | N/A | N/A | The index-meta tablename |
| $install_php_file | resource | No | No | required parameter | N/A | N/A | File to write in to |
| $callback | ?mixed | No | No | Null | N/A | N/A | Callback to run on each iteration (null: none) |
Preview
Code (PHP)
/**
* Write PHP code for the restoration of database data into file.
*
* @param resource $log_file The log file to write to
* @param ID_TEXT $db_meta The meta tablename
* @param ID_TEXT $db_meta_indices The index-meta tablename
* @param resource $install_php_file File to write in to
* @param ?mixed $callback Callback to run on each iteration (null: none)
*/
function make_table_backup($log_file, string $db_meta, string $db_meta_indices, $install_php_file, $callback = null)
* Write PHP code for the restoration of database data into file.
*
* @param resource $log_file The log file to write to
* @param ID_TEXT $db_meta The meta tablename
* @param ID_TEXT $db_meta_indices The index-meta tablename
* @param resource $install_php_file File to write in to
* @param ?mixed $callback Callback to run on each iteration (null: none)
*/
function make_table_backup($log_file, string $db_meta, string $db_meta_indices, $install_php_file, $callback = null)
