Jackalope\ObjectManager::checkout PHP 메소드

checkout() 공개 메소드

TODO: document more clearly. This looks like copy-paste from checkin
또한 보기: VersionManager::checkout
public checkout ( $absPath )
    public function checkout($absPath)
    {
        $this->transport->checkoutItem($absPath);
        //FIXME: what about pending move operations?
    }

Usage Example

예제 #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();
     }
 }