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

        $result = [];
        $objectFactory = $this->getObjectFactory();
        foreach ($children->getObjects() as $objectData) {
            if ($objectData->getObject() !== null) {
                $result[] = $objectFactory->convertObject($objectData->getObject(), $context);
            }
        }

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

        $result = [];
        $objectFactory = $this->getObjectFactory();
        foreach ($children->getObjects() as $objectData) {
            if ($objectData->getObject() !== null) {
                $result[] = $objectFactory->convertObject($objectData->getObject(), $context);
            }
        }

        return $result;
    }
public function getChildren ( OperationContextInterface $ context = null ) { $ context = $ this -> ensureContext ( $ context ) ; $ children = $ this -> getBinding ( ) -> getNavigationService ( ) -> getChildren ( $ this -> getRepositoryId ( ) , $ this -> getId ( ) , $ context -> getQueryFilterString ( ) , $ context -> getOrderBy ( ) , $ context -> isIncludeAllowableActions ( ) , $ context -> getIncludeRelationships ( ) , $ context -> getRenditionFilterString ( ) , $ context -> isIncludePathSegments ( ) ) ; $ result = [ ] ; $ objectFactory = $ this -> getObjectFactory ( ) ; foreach ( $ children -> getObjects ( ) as $ objectData ) { if ( $ objectData -> getObject ( ) !== null ) { $ result [ ] = $ objectFactory -> convertObject ( $ objectData -> getObject ( ) , $ context ) ; } } return $ result ; }
Returns the children of this folder using the given OperationContext.

@param OperationContextInterface|null $context
@return CmisObjectInterface[] A list of the child objects for the specified folder.
Returns the children of this folder using the given OperationContext .