Property | Type | Description | |
---|---|---|---|
$linearVersions | array | Cache of the linear versions to only build the list once | |
$versionLabels | array | Cache of the version labels. | |
$versions | array | Cache of all versions to only build the list once |
Method | Description | |
---|---|---|
addVersionLabel ( $versionName, $label, $moveLabel ) | {@inheritDoc} | |
getAllFrozenNodes ( ) | {@inheritDoc} | |
getAllLinearFrozenNodes ( ) | {@inheritDoc} | |
getAllLinearVersions ( ) | {@inheritDoc} | |
getAllVersions ( ) | {@inheritDoc} | |
getRootVersion ( ) | {@inheritDoc} | |
getVersion ( $versionName ) | {@inheritDoc} | |
getVersionByLabel ( $label ) | {@inheritDoc} | |
getVersionLabels ( $version = null ) | {@inheritDoc} | |
getVersionableIdentifier ( ) | {@inheritDoc} | |
hasVersionLabel ( $label, $version = null ) | {@inheritDoc} | |
notifyHistoryChanged ( ) | Tell the version history that it needs to reload, i.e. after a checkin operation | |
removeVersion ( $versionName ) | {@inheritDoc} | |
removeVersionLabel ( $label ) | {@inheritDoc} |
Method | Description | |
---|---|---|
getEventualSuccessors ( PHPCR\Version\VersionInterface $node ) : array | Walk along the successors line to get all versions of this node |
Method | Description | |
---|---|---|
initVersionLabels ( ) | This method fetches all version labels, if the cache array is not initialized yet. |
public addVersionLabel ( $versionName, $label, $moveLabel ) |
protected getEventualSuccessors ( PHPCR\Version\VersionInterface $node ) : array | ||
$node | PHPCR\Version\VersionInterface | the node to get successors from |
return | array | list of VersionInterface |
public notifyHistoryChanged ( ) |
protected array $linearVersions | ||
return | array |
protected array $versionLabels | ||
return | array |
protected array $versions | ||
return | array |