File: vfs.php
Source Location: /VFS-0.3.0/scripts/VFS/vfs.php
Classes:
Page Details:
This is a command line interface for the VFS package.
`vfs.php help' shows some usage instructions. $Horde: framework/VFS/scripts/VFS/vfs.php,v 1.1.2.2 2008/02/16 15:30:33 jan Exp $ Includes:
cp [line 142]
void cp(
string $source, string $target, array $argv, string $filter)
|
|
Copies one or several files to a different location.
Parameters
string |
$source |
The source file(s) or directory. |
string |
$target |
The target file or directory. |
array |
$argv |
Additional options |
string |
$filter |
Additional parameters |
ls [line 86]
void ls(
string $url, array $argv, string $filter)
|
|
Lists the contents of the specified directory.
Parameters
string |
$url |
The URL of the VFS backend |
array |
$argv |
Additional options |
string |
$filter |
Additional parameters |
mergeOptions [line 308]
array mergeOptions(
array $options)
|
|
Merges a set of options as returned by Console_Getopt::getopt2() into a single array.
Parameters
array |
$options |
A two dimensional array with the options. |
url2params [line 327]
array url2params(
string $url)
|
|
Parses a URL into a set of parameters that can be used to instantiate a VFS object.
Parameters
string |
$url |
A URL with all necessary information for a VFS driver. |
usage [line 249]
void usage(
[PEAR_Error $error = null])
|
|
Shows some error and usage information.
Parameters
PEAR_Error |
$error |
If specified its error messages will be displayed. |
vfs [line 295]
Returns a VFS instance.
Parameters
array |
$params |
A complete parameter set including the driver name for the requested VFS instance. |
_cp [line 172]
void _cp(
&$source_vfs, &$target_vfs, string $source_path, string $target_path, array $argv, string $filter, VFS $source_vfs, VFS $target_vfs)
|
|
Copies one or several files to a different location.
Parameters
VFS |
$source_vfs |
The source VFS object. |
VFS |
$target_vfs |
The The target VFS object. |
string |
$source_path |
The source file(s) or directory. |
string |
$target_path |
The target file or directory. |
array |
$argv |
Additional options |
string |
$filter |
Additional parameters |
|
&$source_vfs |
|
|
&$target_vfs |
|
Documentation generated on Mon, 11 Mar 2019 15:34:56 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|