Свойство | 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 |
Méthode | 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} |
Méthode | Description | |
---|---|---|
getEventualSuccessors ( PHPCR\Version\VersionInterface $node ) : array | Walk along the successors line to get all versions of this node |
Méthode | 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 |
Résultat | array | list of VersionInterface |
public notifyHistoryChanged ( ) |
protected array $linearVersions | ||
Résultat | array |
protected array $versionLabels | ||
Résultat | array |
protected array $versions | ||
Résultat | array |