revive-adserver/revive-adserver — pull request #246 by mccahan (2014-01-11 00:21:58+00:00)
Title: Process extra parameters when generating tags through APIv2

Because the generateTags() call was expecting a struct or array as the third "params" argument, the use of getScalarValues resulted in these parameters being completely ignored. This change uses getNotRequiredScalarValue() to correctly parse the incoming struct or array parameters and pass them on.

This allows the XML call to include $aParams values like array('comments' => 0) to disable comments in the resulting invocation tag, etc.