public function getCheckedOutDocs(OperationContextInterface $context = null)
    {
        $context = $this->ensureContext($context);
        $checkedOutDocs = $this->getBinding()->getNavigationService()->getCheckedOutDocs(
            $this->getRepositoryId(),
            $this->getId(),
            $context->getQueryFilterString(),
            $context->getOrderBy(),
            $context->isIncludeAllowableActions(),
            $context->getIncludeRelationships(),
            $context->getRenditionFilterString()
        );

        $result = [];
        $objectFactory = $this->getObjectFactory();
        foreach ($checkedOutDocs->getObjects() as $objectData) {
            $document = $objectFactory->convertObject($objectData, $context);
            if (!($document instanceof DocumentInterface)) {
                // should not happen but could happen if the repository is not implemented correctly ...
                continue;
            }

            $result[] = $document;
        }

        return $result;
    }
public function getCheckedOutDocs(OperationContextInterface $context = null)
    {
        $context = $this->ensureContext($context);
        $checkedOutDocs = $this->getBinding()->getNavigationService()->getCheckedOutDocs(
            $this->getRepositoryId(),
            $this->getId(),
            $context->getQueryFilterString(),
            $context->getOrderBy(),
            $context->isIncludeAllowableActions(),
            $context->getIncludeRelationships(),
            $context->getRenditionFilterString()
        );

        $result = [];
        $objectFactory = $this->getObjectFactory();
        foreach ($checkedOutDocs->getObjects() as $objectData) {
            $document = $objectFactory->convertObject($objectData, $context);
            if (!($document instanceof DocumentInterface)) {
                // should not happen but could happen if the repository is not implemented correctly ...
                continue;
            }

            $result[] = $document;
        }

        return $result;
    }
public function getCheckedOutDocs ( OperationContextInterface $ context = null ) { $ context = $ this -> ensureContext ( $ context ) ; $ checkedOutDocs = $ this -> getBinding ( ) -> getNavigationService ( ) -> getCheckedOutDocs ( $ this -> getRepositoryId ( ) , $ this -> getId ( ) , $ context -> getQueryFilterString ( ) , $ context -> getOrderBy ( ) , $ context -> isIncludeAllowableActions ( ) , $ context -> getIncludeRelationships ( ) , $ context -> getRenditionFilterString ( ) ) ; $ result = [ ] ; $ objectFactory = $ this -> getObjectFactory ( ) ; foreach ( $ checkedOutDocs -> getObjects ( ) as $ objectData ) { $ document = $ objectFactory -> convertObject ( $ objectData , $ context ) ; if ( ! ( $ document instanceof DocumentInterface ) ) { // should not happen but could happen if the repository is not implemented correctly ... continue ; } $ result [ ] = $ document ; } return $ result ; }
Returns all checked out documents in this folder using the given OperationContext.

@param OperationContextInterface|null $context
@return DocumentInterface[] A list of checked out documents.
Returns all checked out documents in this folder using the given OperationContext .