plugin:components
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
plugin:components [2018-05-29 23:03] – [Installation] Klap-in | plugin:components [2018-10-13 18:56] (current) – new download url (from GitHub) Aleksandr | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : junlingm@gmail.com | email : junlingm@gmail.com | ||
Line 13: | Line 13: | ||
tags : action, ajax | tags : action, ajax | ||
- | downloadurl: | + | downloadurl: |
bugtracker : https:// | bugtracker : https:// | ||
sourcerepo : https:// | sourcerepo : https:// | ||
Line 27: | Line 27: | ||
===== Examples/ | ===== Examples/ | ||
- | =====New action handlers/ | + | ===== New action handlers/ |
All new action handlers should be put under your plugin' | All new action handlers should be put under your plugin' | ||
- | See the commands/ | + | See the commands/ |
+ | |||
+ | ===== AJAX function call handler ===== | ||
- | =====AJAX function call handler== | ||
All new AJAX function call should extend the Doku_AJAX class, and be put in your plugin' | All new AJAX function call should extend the Doku_AJAX class, and be put in your plugin' | ||
Line 46: | Line 48: | ||
Your ajax handler class should implement the call($parmas) function, which returns a PHP array/ | Your ajax handler class should implement the call($parmas) function, which returns a PHP array/ | ||
- | < | + | < |
public function __construct() { | public function __construct() { | ||
parent:: | parent:: | ||
Line 54: | Line 56: | ||
</ | </ | ||
- | See the ajax/ | + | See the ajax/ |
===== Development ===== | ===== Development ===== | ||
plugin/components.txt · Last modified: 2018-10-13 18:56 by Aleksandr