API documentation :: Docs For Class arbitModuleSourceVcsModel
Packages:Interfaces:
Classes:
|
Source::Model::arbitModuleSourceVcsModelClass arbitModuleSourceVcsModelProject model Project model
Member Variables
Method Summary
Methods__construct
void
__construct(
string
$project
, arbitSourceBackendIniModuleConfiguration
$configuration
)
Construct vcs wrapper model Initialises the repository, if not done before. Construct vcs wrapper model Initialises the repository, if not done before. Parameters:
checkout
void
checkout(
)
Initialize repository Repository initialization may take too long, this should be done using the respective cronjob. Initialize repository Repository initialization may take too long, this should be done using the respective cronjob. diff
array
diff(
string
$path
, string
$from
, string
$to
)
Diff two versions of a given resource Diff two versions of a given resource Parameters:
getResource
vcsResource
getResource(
string
$path
)
Get resource from checkout by path Get resource from checkout by path Parameters:
getViewModel
arbitViewModel
getViewModel(
string
$path
)
Return view model for given path Return a view model for the given path. the repository an exception will be thrown. Return view model for given path Return a view model for the given path. If the path does not exist in the repository an exception will be thrown. Parameters:
recursivelyPrimeCaches
void
recursivelyPrimeCaches(
[mixed
$depth
= false] )
Recursively prime caches for checkout Optionally a depth may be specified up to which the caches are primed. Recursively prime caches for checkout Optionally a depth may be specified up to which the caches are primed. The default value "false" means unlimited depth. Parameters:
toBytes
int
toBytes(
string
$string
)
Convert size value to bytes Convert size value to bytes Parameters:
update
boolean
update(
[mixed
$revision
= null] )
Update repository Repository updates may take too long, this should be done using the respective cronjob. Update repository Repository updates may take too long, this should be done using the respective cronjob. Returns true if an update happened, and false otherwise. Parameters:
versionDiff
array
versionDiff(
string
$path
, [string
$version
= null] )
Return diff for the given revision Retunrs the diff for the given path for the given revision. will return an array with the prior version, the current version and the actual diff. Return diff for the given revision Retunrs the diff for the given path for the given revision. The method will return an array with the prior version, the current version and the actual diff. Parameters:
Documentation generated on Mon, 05 Apr 2010 14:02:22 +0200 by phpDocumentor 1.4.3
|