[dokuwiki] How to extend functionnalities an existing render function ?

  • From: jacques.ehrlich@xxxxxxx
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 5 Aug 2013 10:01:21 +0200 (CEST)

Please, apologize if it's not the good mailing list to ask this question.

I have developped an extension of bureaucracy.
It's a new action named "mysql" which allows
to read/write the content of the form's fields from/into a mysql database.

I have written a "mysql.php" file  '(located into bureaucracy/actions/) which 
contains a new class:
a
class syntax_plugin_bureaucracy_action_mysql extends 
syntax_plugin_bureaucracy_action {
... etc
}

But also I have to sligthly modify the 
render function of the aleady existing render function located into the 
bureaucracy/syntax.php" file.
However I know that I do not modify the original "syntax.php" file of 
bureacracy.

So I want that when the "mysql" action is used it is my own render function 
which i called instead
the original render function (and my render function needs to acces to the 
variables of the original render function of bureaucracy) .

How can I do that ?

Thanks for your help
Jacques

Other related posts:

  • » [dokuwiki] How to extend functionnalities an existing render function ? - jacques . ehrlich