checkout() public method

TODO: document more clearly. This looks like copy-paste from checkin
See also: VersionManager::checkout
public checkout ( $absPath )
Exemplo n.º 1
0
 /**
  * {@inheritDoc}
  *
  * @api
  */
 public function checkout($absPath)
 {
     $this->objectManager->checkout($absPath);
     if ($node = $this->objectManager->getCachedNode($absPath)) {
         // OPTIMIZE: set property jcr:isCheckedOut on node directly? but without triggering write on save()
         $node->setDirty();
     }
 }