PHP Interface Jackalope\Transport\VersioningInterface

Inheritance: extends Jackalope\Transport\TransportInterface
ファイルを表示 Open project: jackalope/jackalope

Public Methods

Method Description
addVersionLabel ( string $versionName, string $label, boolean $moveLabel ) Adds the label label to the specified version.
checkinItem ( string $path ) : string Check-in item at path.
checkoutItem ( string $path ) Check-out item at path.
removeVersion ( string $versionPath, string $versionName ) Remove a version given the path to the version node and the name of the version.
removeVersionLabel ( string $versionPath, string $label ) Removes a label from the specified version.
restoreItem ( $removeExisting, $versionPath, $path ) Restore the item at versionPath to the location path

Method Details

addVersionLabel() public method

Adds the label label to the specified version.
public addVersionLabel ( string $versionName, string $label, boolean $moveLabel )
$versionName string the absolute path to the version
$label string
$moveLabel boolean

checkinItem() public method

Check-in item at path.
See also: VersionManager::checkin
public checkinItem ( string $path ) : string
$path string absolute path to the node
return string path to the new version

checkoutItem() public method

Check-out item at path.
See also: VersionManager::checkout
public checkoutItem ( string $path )
$path string absolute path to the node

removeVersion() public method

Remove a version given the path to the version node and the name of the version.
public removeVersion ( string $versionPath, string $versionName )
$versionPath string absolute path to the version node
$versionName string The name of the version

removeVersionLabel() public method

Removes a label from the specified version.
public removeVersionLabel ( string $versionPath, string $label )
$versionPath string the absolute path to the version.
$label string the label, that has to be removed.

restoreItem() public method

TODO: This is incomplete. Needs batch processing to avoid chicken-and-egg problems
See also: VersionManager::restoreItem
public restoreItem ( $removeExisting, $versionPath, $path )