checkout() 공개 메소드

Check out operation - Save all current changes and then check out the Node by path.
public checkout ( $document )
예제 #1
0
 /**
  * {@inheritDoc}
  */
 public function checkout($document)
 {
     if (!is_object($document)) {
         throw new InvalidArgumentException('Parameter $document needs to be an object, ' . gettype($document) . ' given');
     }
     $this->errorIfClosed();
     $this->unitOfWork->checkout($document);
 }
예제 #2
0
 /**
  * Make a checked in document writable again.
  *
  * @param object $document
  */
 public function checkout($document)
 {
     if (!is_object($document)) {
         throw new \InvalidArgumentException(gettype($document));
     }
     $this->errorIfClosed();
     $this->unitOfWork->checkout($document);
 }
예제 #3
0
 /**
  * Make a checked in document writable again.
  *
  * @param object $document
  */
 public function checkout($document)
 {
     $this->errorIfClosed();
     $this->unitOfWork->checkout($document);
 }