Lars Skjærlund wrote:
Hi list,
I'm trying to work my way through the new AxKit2 code - but before I
figure it out myself, maybe someone would be kind enough to help me:
Where's the equivalent of an AxKit1 Provider?
We were thinking of whether we should do a hook for this, but instead we
made is so crazy simple we felt a new hook wasn't required. Here's the
equivalent of a provider:
sub hook_xmlresponse {
my ($self, $processor) = @_;
# generate xml - either an XML::LibXML DOM, or a string
my $xml = generate_xml();
$processor->input($xml);
return DECLINED;
}
I feel that's MUCH better than the AxKit1 model, don't you?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]