[Groonga-commit] droonga/droonga.org at 77429a8 [gh-pages] Add description about "adapter"

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Feb 26 16:07:17 JST 2014


YUKI Hiroshi	2014-02-26 16:07:17 +0900 (Wed, 26 Feb 2014)

  New Revision: 77429a87b455e2218bbee4a2ccc64ee5070d2409
  https://github.com/droonga/droonga.org/commit/77429a87b455e2218bbee4a2ccc64ee5070d2409

  Message:
    Add description about "adapter"

  Modified files:
    tutorial/plugin-development/adapter/index.md

  Modified: tutorial/plugin-development/adapter/index.md (+2 -0)
===================================================================
--- tutorial/plugin-development/adapter/index.md    2014-02-26 16:03:15 +0900 (c307303)
+++ tutorial/plugin-development/adapter/index.md    2014-02-26 16:07:17 +0900 (edf0695)
@@ -77,6 +77,8 @@ This plugin does nothing except registering itself to Droonga.
 
  * The `sample-logger` is the name of the plugin itself. You'll use it in your `catalog.json`, to activate the plugin.
  * As the example above, you must define your plugin as a module.
+ * Behaviors at the adaption phase is defined a class called *adapter*.
+   An adapter class must be defined as a subclass of the `Droonga::Adapter`, under the namespace of the plugin module.
 
 
 ### Activate the plugin with `catalog.json`
-------------- next part --------------
HTML����������������������������...
Descargar 



More information about the Groonga-commit mailing list
Back to archive index