1<?php
2/**
3 * PyCode plugin: it embeds a Python script hosted in a remote repository.
4 *
5 * metadata.php: it defines the kinds of metadata used in
6 *     the Configuration Manager.
7 *
8 * @author Torpedo <dgtorpedo@gmail.com>
9 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
10 * @package metadata
11 */
12
13// btns = (int) value of the checkbox:
14//      0 = no buttons in the toolbar
15//      1 = (default) show buttons
16$meta["btns"] = array("onoff");
17
18// "cache" = (int) value of the checkbox input:
19//      0 = enable cache
20//      1 = disable cache (default)
21$meta["cache"] = array("onoff");
22
23// "nums" = (int) value of the checkbox:
24//      0 = show line numbers (default)
25//      1 = hide line numbers
26$meta["nums"] = array("onoff");
27
28// "title" = (str) value of the combobox which is a combination of:
29//      "none" = no title (default)
30//      "class" = <class-name> (only for Python script)
31//      "def" = <function-name> (only for Python script)
32//      "file" = <file-name>
33//      "src-url" = path to <file-name>
34$meta["title"] = array("multichoice",
35                       "_choices" => array("none",
36                                           "file ⋅ class ⋅ def ⋅ #:#",
37                                           "src-url ⋅ class ⋅ def ⋅ #:#"));
38
39// "docstr" = (int) value of the checkbox:
40//      0 = show docstring (default)
41//      1 = hide docstring
42$meta["docstr"] = array("onoff");
43