public static function GetArrayFromSoapArray($objSoapArray)
 {
     $objArrayToReturn = array();
     foreach ($objSoapArray as $objSoapObject) {
         array_push($objArrayToReturn, ClassVariable::GetObjectFromSoapObject($objSoapObject));
     }
     return $objArrayToReturn;
 }
 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new ClassProperty();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'QcodoClass') && $objSoapObject->QcodoClass) {
         $objToReturn->QcodoClass = QcodoClass::GetObjectFromSoapObject($objSoapObject->QcodoClass);
     }
     if (property_exists($objSoapObject, 'VariableGroup') && $objSoapObject->VariableGroup) {
         $objToReturn->VariableGroup = VariableGroup::GetObjectFromSoapObject($objSoapObject->VariableGroup);
     }
     if (property_exists($objSoapObject, 'Variable') && $objSoapObject->Variable) {
         $objToReturn->Variable = Variable::GetObjectFromSoapObject($objSoapObject->Variable);
     }
     if (property_exists($objSoapObject, 'ClassVariable') && $objSoapObject->ClassVariable) {
         $objToReturn->ClassVariable = ClassVariable::GetObjectFromSoapObject($objSoapObject->ClassVariable);
     }
     if (property_exists($objSoapObject, 'ReadOnlyFlag')) {
         $objToReturn->blnReadOnlyFlag = $objSoapObject->ReadOnlyFlag;
     }
     if (property_exists($objSoapObject, 'WriteOnlyFlag')) {
         $objToReturn->blnWriteOnlyFlag = $objSoapObject->WriteOnlyFlag;
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }