static boolean generate_file(
string
$source_dir, string
$file_path, integer
$cut, string
$prefix, octal
$chmod
)
|
|
Creates ZIP archive for module release
Parameters:
|
string |
$source_dir: |
Source dir that contains release files |
|
string |
$file_path: |
Path to target Zip file to be created |
|
integer |
$cut: |
Path of source files will be cut from this pos (i.e. path in archive will be what is after $cut) |
|
string |
$prefix: |
Paths in archive will be prefixed with this value |
|
octal |
$chmod: |
Created Zip file will be chmoded to this value |
API Tags:
| Return: | Returns true on success, on failure - false |
| Access: | public |