Static Public Member Functions |
static | split ($filename, $output_dir=FALSE, $piece_size=10) |
| Split a file into pieces matching a specific size.
|
static | join ($filename, $output=FALSE) |
| Join a split file into a whole file.
|
static | extension ($filename) |
Member Function Documentation
static file::join |
( |
|
$filename, |
|
|
|
$output = FALSE |
|
) |
| |
|
static |
Join a split file into a whole file.
- Parameters
-
string | split filename, without .000 extension |
string | output filename, if different then an the filename |
- Returns
- integer The number of pieces that were joined.
static file::split |
( |
|
$filename, |
|
|
|
$output_dir = FALSE , |
|
|
|
$piece_size = 10 |
|
) |
| |
|
static |
Split a file into pieces matching a specific size.
- Parameters
-
string | file to be split |
string | directory to output to, defaults to the same directory as the file |
integer | size, in MB, for each chunk to be |
- Returns
- integer The number of pieces that were created.
The documentation for this class was generated from the following file: