Methods summary
public
|
#
__construct( string $user = '', string $password = '', array $additional = array(), string $svnBinary = '' )
Constructor.
Parameters
- $user
string SVN username
- $password
string SVN user password
- $additional
array Additional parameters
- $svnBinary
string SVN binary path
|
public
Jyxo_Svn_Result
|
#
checkout( string $url, string $path, mixed $params = null, string $user = '', string $password = '' )
SVN checkout.
Parameters
- $url
string Repository URL
- $path
string Local working copy path
- $params
mixed Additional parameters
- $user
string SVN username
- $password
string SVN user password
Returns
|
public
Jyxo_Svn_Result
|
#
co( string $url, string $path, mixed $params = null, string $user = '', string $password = '' )
SVN checkout.
Parameters
- $url
string Repository URL
- $path
string Local working copy path
- $params
mixed Additional parameters
- $user
string SVN username
- $password
string SVN user password
Returns
|
public
Jyxo_Svn_Result
|
#
update( string $path, mixed $params = null, string $user = '', string $password = '' )
SVN Update.
Parameters
- $path
string Local working copy path
- $params
mixed Additional parameters
- $user
string SVN username
- $password
string SVN user password
Returns
|
public
Jyxo_Svn_Result
|
#
up( string $path, mixed $params = null, string $user = '', string $password = '' )
SVN Update.
Parameters
- $path
string Local working copy path
- $params
mixed Additional parameters
- $user
string SVN username
- $password
string SVN user password
Returns
|
public
Jyxo_Svn_Result
|
#
commit( string $path, string $message, mixed $params = null, string $user = '', string $password = '' )
SVN commit.
Parameters
- $path
string Local working copy path
- $message
string Commit message
- $params
mixed Additional parameters
- $user
string SVN username
- $password
string SVN user password
Returns
|
public
Jyxo_Svn_Result
|
#
ci( string $path, string $message, mixed $params = null, string $user = '', string $password = '' )
SVN commit.
Parameters
- $path
string Local working copy path
- $message
string Commit message
- $params
mixed Additional parameters
- $user
string SVN username
- $password
string SVN user password
Returns
|
public
Jyxo_Svn_Result
|
#
add( array $path )
Runs SVN add on the given path.
Runs SVN add on the given path.
Parameters
- $path
array Path to be added to SVN
Returns
|
public
Jyxo_Svn_Result
|
#
delete( array $path )
Runs SVN delete on the given path.
Runs SVN delete on the given path.
Parameters
- $path
array Path to be deleted from SVN
Returns
|
public
Jyxo_Svn_Result
|
#
status( array $path )
Retrieves SVN status information of the given path.
Retrieves SVN status information of the given path.
Parameters
Returns
|
protected
Jyxo_Svn_Result
|
#
callSvn( string $action, string $user, string $password, string $params )
Executes SVN binary with given parameters.
Executes SVN binary with given parameters.
Parameters
- $action
string Action
- $user
string Username
- $password
string User password
- $params
string Additional parameters
Returns
Throws
|
public
Jyxo_Svn_Client
|
#
setUser( string $user )
Sets SVN username.
Parameters
Returns
|
public
Jyxo_Svn_Client
|
#
setPassword( string $password )
Sets SVN user password.
Parameters
- $password
string Password
Returns
|
public
Jyxo_Svn_Client
|
#
setAdditionalParams( array $params )
Sets additional parameters.
Sets additional parameters.
Parameters
- $params
array Array of parameters
Returns
|
public
Jyxo_Svn_Client
|
#
setSvnBinary( string $path )
Sets SVN binary path.
Parameters
- $path
string Path to the SVN binary
Returns
|
public
Jyxo_Svn_Client
|
#
addAdditionalParam( string $param, string $value = '' )
Adds an additional parameter.
Adds an additional parameter.
Parameters
- $param
string Parameter name
- $value
string Parameter value
Returns
|
protected
string
|
#
getUserString( mixed $user = '' )
Returns SVN username with the given value for use as SVN binary
parameter.
Returns SVN username with the given value for use as SVN binary
parameter.
Username given in the argument has precedence over the value stored in
object's attribute. Returns empty string if no username is set in any way.
Parameters
Returns
string
|
protected
string
|
#
getPasswordString( mixed $password = '' )
Returns SVN user password with the given value for use as SVN binary
parameter.
Returns SVN user password with the given value for use as SVN binary
parameter.
Password given in the argument has precedence over the value stored in
object's attribute. Returns empty string if no password is set in any way.
Parameters
Returns
string
|
protected
string
|
#
getAdditionalParams( mixed $params = array(), boolean $pathsOnly = false )
Returns additional parameters with the given value for use as SVN binary
parameters.
Returns additional parameters with the given value for use as SVN binary
parameters.
Parameters given in the argument have precedence over values stored in
object's attribute. If parameters are given as arrays, they get merged.
Returns empty string if no parameters are set in any way.
Parameters
- $params
mixed Parameters
- $pathsOnly
boolean Use only path-parameters (not beginning with a dash "-")
Returns
string
|