public static function AlterSoapComplexTypeArray(&$strComplexTypeArray) { if (!array_key_exists('User', $strComplexTypeArray)) { $strComplexTypeArray['User'] = User::GetSoapComplexTypeXml(); } }