Skip to content
  1. Oct 28, 2011
  2. Jul 27, 2011
  3. Jul 23, 2011
  4. Jul 02, 2011
  5. Jun 11, 2011
  6. May 02, 2011
  7. Apr 23, 2011
  8. Feb 25, 2011
  9. Feb 21, 2011
  10. Jan 15, 2011
  11. Dec 17, 2010
  12. Oct 28, 2010
  13. Oct 19, 2010
  14. Oct 15, 2010
    • Thomas Seidl's avatar
      Change #939092: Several API changes regarding service class methods. · 900635bb
      Thomas Seidl authored
          * Distinction and interaction between service class and server object
                o Common server properties like id, name, machine name, etc., are now only stored in the server object.
                o The service object has now a defined constructor, which contains the corresponding server object as a parameter.
                o The abstract service class saves $server and a reference to $server->options (as $options) in its constructor.
                o When a service class wants to access other server properties (apart from its own settins), e.g. the server ID, it should just use $this->server->id.
          * Service configuration form handling
                o The signatures of the three SearchApiServiceInterface::configurationForm*() methods have changed.
                o $prefix is gone, simply use form_error() instead.
                o SearchApiServiceInterface::configurationFormSubmit() has a new purpose, as it is now responsible for storing the new service options itself. This is most easily done (when extending the abstract service class) by setting $this->options appropriately.
                o If you haven't overridden these methods, you can ignore these changes – the abstract service's default implementation works just as before.
          * Renamed SearchApiServiceInterface::view() to SearchApiServiceInterface::viewSettings().
      900635bb
  15. Oct 12, 2010
  16. Oct 08, 2010
  17. Sep 23, 2010
  18. Aug 15, 2010
  19. Aug 14, 2010