Classes/Service/AssociationsApiService.php
protected function checkApiServiceFilterContext($apiServiceFilterContext = null, $aID = null)
    {
        if (is_null($apiServiceFilterContext)) {
            $resultApiServiceFilterContext = new \RGU\Dvoconnector\Domain\Filter\GenericFilterContext();
        } else {
            $resultApiServiceFilterContext = clone $apiServiceFilterContext;
        }

        if (is_null($resultApiServiceFilterContext->getInsideAssociationID()) && isset($aID)) {
            $resultApiServiceFilterContext->setInsideAssociationID($aID);
        }

        return $resultApiServiceFilterContext;
    }
protected function checkApiServiceFilterContext($apiServiceFilterContext = null, $aID = null)
    {
        if (is_null($apiServiceFilterContext)) {
            $resultApiServiceFilterContext = new \RGU\Dvoconnector\Domain\Filter\GenericFilterContext();
        } else {
            $resultApiServiceFilterContext = clone $apiServiceFilterContext;
        }

        if (is_null($resultApiServiceFilterContext->getInsideAssociationID()) && isset($aID)) {
            $resultApiServiceFilterContext->setInsideAssociationID($aID);
        }

        return $resultApiServiceFilterContext;
    }
protected function checkApiServiceFilterContext ( $ apiServiceFilterContext = null , $ aID = null ) { if ( is_null ( $ apiServiceFilterContext ) ) { $ resultApiServiceFilterContext = new \ RGU \ Dvoconnector \ Domain \ Filter \ GenericFilterContext ( ) ; } else { $ resultApiServiceFilterContext = clone $ apiServiceFilterContext ; } if ( is_null ( $ resultApiServiceFilterContext -> getInsideAssociationID ( ) ) && isset ( $ aID ) ) { $ resultApiServiceFilterContext -> setInsideAssociationID ( $ aID ) ; } return $ resultApiServiceFilterContext ; }
check that the filter has a inside association value

@param \RGU\Dvoconnector\Service\ApiServiceFilterContext $apiServiceFilterContext
@param string $aID association ID

@return \RGU\Dvoconnector\Service\ApiServiceFilterContext
check that the filter has a inside association value