Property | Type | Description | |
---|---|---|---|
$additional | array | Additional SVN parameters. | |
$password | string | SVN user password. | |
$svnBinary | string | Path to the SVN binary. | |
$user | string | SVN username. |
Method | Description | |
---|---|---|
__construct ( string $user = '', string $password = '', array $additional = [], string $svnBinary = '' ) | Constructor. | |
add ( array $path ) : |
Runs SVN add on the given path. | |
addAdditionalParam ( string $param, string $value = '' ) : |
Adds an additional parameter. | |
checkout ( string $url, string $path, mixed $params = null, string $user = '', string $password = '' ) : |
SVN checkout. | |
ci ( string $path, string $message, mixed $params = null, string $user = '', string $password = '' ) : |
SVN commit. | |
co ( string $url, string $path, mixed $params = null, string $user = '', string $password = '' ) : |
SVN checkout. | |
commit ( string $path, string $message, mixed $params = null, string $user = '', string $password = '' ) : |
SVN commit. | |
delete ( array $path ) : |
Runs SVN delete on the given path. | |
setAdditionalParams ( array $params ) : |
Sets additional parameters. | |
setPassword ( string $password ) : |
Sets SVN user password. | |
setSvnBinary ( string $path ) : |
Sets SVN binary path. | |
setUser ( string $user ) : |
Sets SVN username. | |
status ( array $path ) : |
Retrieves SVN status information of the given path. | |
up ( string $path, mixed $params = null, string $user = '', string $password = '' ) : |
SVN Update. | |
update ( string $path, mixed $params = null, string $user = '', string $password = '' ) : |
SVN Update. |
Method | Description | |
---|---|---|
callSvn ( string $action, string $user, string $password, array $params ) : |
Executes SVN binary with given parameters. | |
getAdditionalParams ( array $params = [], boolean $pathsOnly = false ) : string | Returns additional parameters with the given value for use as SVN binary parameters. | |
getPasswordString ( mixed $password = '' ) : string | Returns SVN user password with the given value for use as SVN binary parameter. | |
getUserString ( mixed $user = '' ) : string | Returns SVN username with the given value for use as SVN binary parameter. |
public addAdditionalParam ( string $param, string $value = '' ) : |
||
$param | string | Parameter name |
$value | string | Parameter value |
return |
protected getPasswordString ( mixed $password = '' ) : string | ||
$password | mixed | Password |
return | string |
protected getUserString ( mixed $user = '' ) : string | ||
$user | mixed | Username |
return | string |
public setAdditionalParams ( array $params ) : |
||
$params | array | Array of parameters |
return |
public setPassword ( string $password ) : |
||
$password | string | Password |
return |
public setSvnBinary ( string $path ) : |
||
$path | string | Path to the SVN binary |
return |
protected array $additional | ||
return | array |