PHP Интерфейс Jackalope\Transport\VersioningInterface

Наследование: extends Jackalope\Transport\TransportInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

addVersionLabel() публичный Метод

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() публичный Метод

Check-in item at path.
См. также: VersionManager::checkin
public checkinItem ( string $path ) : string
$path string absolute path to the node
Результат string path to the new version

checkoutItem() публичный Метод

Check-out item at path.
См. также: VersionManager::checkout
public checkoutItem ( string $path )
$path string absolute path to the node

removeVersion() публичный Метод

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() публичный Метод

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() публичный Метод

TODO: This is incomplete. Needs batch processing to avoid chicken-and-egg problems
См. также: VersionManager::restoreItem
public restoreItem ( $removeExisting, $versionPath, $path )