Function __global->upgrader2_copy_in_file
Definitions
data/upgrader2.php
- Copy a file from the upgrader into the installed software.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $target_file | URLPATH | No | No | required parameter | N/A | N/A | The file to be copied |
| $tmp_path_handle | mixed | No | No | required parameter | N/A | N/A | The handler for the upgrader tmp file |
| $offset | integer | No | No | required parameter | N/A | N/A | The offset at which to seek |
| $length | integer | No | No | required parameter | N/A | N/A | The length which to seek |
Preview
Code (PHP)
/**
* Copy a file from the upgrader into the installed software.
*
* @param URLPATH $target_file The file to be copied
* @param mixed $tmp_path_handle The handler for the upgrader tmp file
* @param integer $offset The offset at which to seek
* @param integer $length The length which to seek
*/
function upgrader2_copy_in_file(string $target_file, $tmp_path_handle, int $offset, int $length)
* Copy a file from the upgrader into the installed software.
*
* @param URLPATH $target_file The file to be copied
* @param mixed $tmp_path_handle The handler for the upgrader tmp file
* @param integer $offset The offset at which to seek
* @param integer $length The length which to seek
*/
function upgrader2_copy_in_file(string $target_file, $tmp_path_handle, int $offset, int $length)

