/**
  * Gets Structure Scalar and non-Scalar fields
  *
  * @access public
  *
  * @param structure &$oStructure  to return data
  * @param XML_RPC_Message &$oParams
  * @param integer $idxParam
  * @param array $aScalars Field names array
  * @param array $aNonScalars Field names array
  * @param XML_RPC_Response &$oResponseWithError
  *
  * @return boolean  shows true if method was executed successfully
  */
 function getStructureScalarAndNotScalarFields(&$oStructure, &$oParams, $idxParam, $aScalars, $aNonScalars, &$oResponseWithError)
 {
     $result = XmlRpcUtils::getStructureScalarFields($oStructure, $oParams, $idxParam, $aScalars, $oResponseWithError);
     if ($result) {
         $oStructParam = $oParams->getParam($idxParam);
         foreach ($aNonScalars as $fieldName) {
             if (!XmlRpcUtils::_getStructureNonScalarField($oStructure, $oStructParam, $fieldName, $oResponseWithError)) {
                 return false;
             }
         }
     } else {
         return false;
     }
     return true;
 }