[horde] registering APIs

Steve Ivy steve at contentconnections.com
Fri Oct 15 14:57:15 PDT 2004


I'm trying to implement an API for my horde app, and I'm getting this 

 >"The method "myApp/getPathArrayForTool" is not defined in the Horde 

I've got the following in my myApp/lib/api.php

 >$_services['getPathArrayForTool'] = array (
 >    'args' => array('tool_id'),
 >    'type' => 'stringArray',

 >function _myApp_getPathArrayForTool ($tool_id)
 > ...
 > return $ary;

I've looked at a couple other horde apps, but I can't find an example 
of anything else I should be doing to make this work. What am I 

--Steve Ivy

More information about the horde mailing list