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