[whups] API calls

Nathan Mills nathan at nwacg.net
Thu Feb 1 23:06:23 PST 2007


Is there a particular reason that the show method only has a link  
parameter, rather than being fully implemented like the rest? It would  
be handy for XML-RPC.

I went ahead and patched it and it seems to work fine using the most  
simplest code I can think of:

function _whups_show($id)
{
     require_once dirname(__FILE__) . '/base.php';
     global $whups, $registry;

     $result = $whups->getTicketDetails($id, true);

     return $result;
}

Is there a reason why that won't work?




More information about the whups mailing list