[dokuwiki] Is it possible to get data between states in plugins?

  • From: Chris Green <cl@xxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 7 Feb 2012 23:04:54 +0000

A typical syntax plugin with a format like:-

    <plugin:param1=abc&param2=xyz>Some text here</plugin>

Will handle states DOKU_LEXER_ENTER, DOKU_LEXER_UNMATCHED and
DOKU_LEXER_EXIT in its handle() function, is there any way to communicate
between them?

E.g. will class variables be available between calls or is each call
of handle() in a different instance of the syntax plugin class?

-- 
Chris Green
-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: