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