[commits] [Wiki] changed: CustomizeApis

Wiki Guest wikiguest at horde.org
Wed Feb 1 09:24:27 UTC 2012


guest [130.75.68.188]  Wed, 01 Feb 2012 09:24:27 +0000

Modified page: http://wiki.horde.org/CustomizeApis
New Revision:  5
Change log:  filename api.php -> Api.php

@@ -34,9 +34,9 @@
  </code>

  This tells the Registry that your are only providing the "search"  
and "show" methods of the "contacts" API. The other methods may be  
provided by other modules, by Turba, or not at all. {{'provides'}}  
entries with method names take precedence over generic entries, i.e.  
if for Turba you have {{'provides' => array('contacts')}} in the  
registry configuration and {{'provides' => array('contacts/search',  
'contacts/show')}} for your own module, than these two method will be  
routed to your module, all other "contacts/" calls will be delegated  
to Turba.

-The {{api.php}} file finally provides the actual method definitions.  
At the top of the file, you list all methods that your are going to  
provide in this file, including the method signatures:
+The {{Api.php}} file finally provides the actual method definitions.  
At the top of the file, you list all methods that your are going to  
provide in this file, including the method signatures:

  <code type="php">
  <?php
  /**



More information about the commits mailing list