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