Function __global->_sync_file
Definitions
sources/files2.php
- Provides a hook for file synchronisation between mirrored servers. Called after any file creation, deletion or edit.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $filename | PATH | No | No | required parameter | N/A | N/A | File/directory name to sync on (full path) |
Preview
Code (PHP)
/**
* Provides a hook for file synchronisation between mirrored servers. Called after any file creation, deletion or edit.
*
* @param PATH $filename File/directory name to sync on (full path)
*/
function _sync_file(string $filename)
* Provides a hook for file synchronisation between mirrored servers. Called after any file creation, deletion or edit.
*
* @param PATH $filename File/directory name to sync on (full path)
*/
function _sync_file(string $filename)

