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