Classes/Service/AssociationsApiService.php
public function getFunctionariesFromRootAssociations($apiServiceFilterContext = null)
    {
        $result = [];

        foreach ($this->getRootAssociationIDs() as $key => $rootAssociationID) {
            try {
                $result[] = $this->getFunctionariesFromAssociation($rootAssociationID, $apiServiceFilterContext);
            } catch (ContextException $e) {
                if ($key === count($this->getRootAssociationIDs()) - 1) {
                    throw $e;
                }
            }
        }

        return $result;
    }
public function getFunctionariesFromRootAssociations($apiServiceFilterContext = null)
    {
        $result = [];

        foreach ($this->getRootAssociationIDs() as $key => $rootAssociationID) {
            try {
                $result[] = $this->getFunctionariesFromAssociation($rootAssociationID, $apiServiceFilterContext);
            } catch (ContextException $e) {
                if ($key === count($this->getRootAssociationIDs()) - 1) {
                    throw $e;
                }
            }
        }

        return $result;
    }
public function getFunctionariesFromRootAssociations ( $ apiServiceFilterContext = null ) { $ result = [ ] ; foreach ( $ this -> getRootAssociationIDs ( ) as $ key => $ rootAssociationID ) { try { $ result [ ] = $ this -> getFunctionariesFromAssociation ( $ rootAssociationID , $ apiServiceFilterContext ) ; } catch ( ContextException $ e ) { if ( $ key === count ( $ this -> getRootAssociationIDs ( ) ) - 1 ) { throw $ e ; } } } return $ result ; }
return a list of functionaries from the root associations

@param \RGU\Dvoconnector\Service\ApiServiceFilterContext $apiServiceFilterContext

@return \SimpleXMLElement XML data
return a list of functionaries from the root associations