Skip to content
  1. May 02, 2011
  2. Apr 23, 2011
  3. Feb 25, 2011
  4. Feb 21, 2011
  5. Jan 15, 2011
  6. Dec 17, 2010
  7. Oct 28, 2010
  8. Oct 19, 2010
  9. 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
  10. Oct 12, 2010
  11. Oct 08, 2010
  12. Sep 23, 2010
  13. Aug 15, 2010
  14. Aug 14, 2010