DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:configuration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
devel:configuration [2016-03-12 22:14] – Proposal enhancement formatting for Parameters torpedodevel:configuration [2016-03-18 16:23] – [Examples] torpedo
Line 72: Line 72:
 Let's say initially a plugin uses the syntax: Let's say initially a plugin uses the syntax:
  
-<code php>$meta[multi'] = array('multicheckbox', '_choices' => array('a','b','c','d'));</code>+<code php>$meta['multi'] = array('multicheckbox', '_choices' => array('a','b','c','d'));</code>
  
 this means the multicheckbox will show four choices plus a string input. this means the multicheckbox will show four choices plus a string input.
Line 80: Line 80:
 In the next release of the plugin the author's plugin decides to use the multicheckbox without the extra string, but, in order to be backwardly compatible, adopts: In the next release of the plugin the author's plugin decides to use the multicheckbox without the extra string, but, in order to be backwardly compatible, adopts:
  
-<code php>$meta[multi'] = array('multicheckbox', '_other' => 'exists', '_choices' => array('a','b','c','d'));</code>+<code php>$meta['multi'] = array('multicheckbox', '_other' => 'exists', '_choices' => array('a','b','c','d'));</code>
  
 which means: which means:
devel/configuration.txt · Last modified: 2019-07-11 16:18 by phy25

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki