Home
last modified time | relevance | path

Searched refs:opt (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/plugin/switchpanel/tpl/
Dswitchpanel.case.rj45.class.php3 public static function getSvg( $oCase, $iX, $iY, $opt ){ argument
6 …et( $oCase[ 'options' ][ 'target' ] ) ? $oCase[ 'options' ][ 'target' ] : $opt[ 'target' ] ).'" st…
20 $sColor = $opt[ 'color' ];
25 $sLeftLedColor = $opt[ 'leftLedColor' ];
30 $sRightLedColor = $opt[ 'rightLedColor' ];
36 $sLabelBgColor = $opt[ 'labelBgColor' ];
42 $sLabelTxtColor = $opt[ 'labelTxtColor' ];
50opt[ 'elementWidth' ] / 4 ) ) + ( ( $opt[ 'elementWidth' ] / 15 ) * $i ) ).'" y="'.( $iY + ( $opt[…
53 …$sSvg .= '<rect x="'.$iX.'" y="'.$iY.'" width="'.$opt[ 'elementWidth' ].'" height="'.$opt[ 'elemen…
54 …$iX.'" y="'.$iY.'" width="'.$opt[ 'elementWidth' ].'" height="'.( $opt[ 'elementHeight' ] / 2.65 )…
[all …]
Dswitchpanel.case.serial.class.php3 public static function getSvg( $oCase, $iX, $iY, $opt ){ argument
6 …et( $oCase[ 'options' ][ 'target' ] ) ? $oCase[ 'options' ][ 'target' ] : $opt[ 'target' ] ).'" st…
20 $sColor = $opt[ 'color' ];
26 $sLabelBgColor = $opt[ 'labelBgColor' ];
32 $sLabelTxtColor = $opt[ 'labelTxtColor' ];
38 …$sSvg .= '<rect x="'.$iX.'" y="'.$iY.'" width="'.$opt[ 'elementWidth' ].'" height="'.$opt[ 'elemen…
39 …$iX.'" y="'.$iY.'" width="'.$opt[ 'elementWidth' ].'" height="'.( $opt[ 'elementHeight' ] / 2.65 )…
40opt[ 'elementWidth' ] / 2 ) ).'" y="'.( $iY + ( $opt[ 'elementHeight' ] / 3.6 ) ).'" style="font-w…
41opt[ 'elementWidth' ] / 6 ) ).','.( $iY + ( $opt[ 'elementHeight' ] / 1.9 ) ).' C'.( $iX + ( $opt[…
42opt[ 'elementWidth' ] / 6 ) ).','.( $iY + ( $opt[ 'elementHeight' ] / 1.8 ) ).' C'.( $iX + ( $opt[…
[all …]
Dswitchpanel.case.close.class.php3 public static function getSvg( $oCase, $iX, $iY, $opt ){ argument
6 …et( $oCase[ 'options' ][ 'target' ] ) ? $oCase[ 'options' ][ 'target' ] : $opt[ 'target' ] ).'" st…
20 $sColor = $opt[ 'color' ];
26 $sLabelBgColor = $opt[ 'labelBgColor' ];
32 $sLabelTxtColor = $opt[ 'labelTxtColor' ];
38 …$sSvg .= '<rect x="'.$iX.'" y="'.$iY.'" width="'.$opt[ 'elementWidth' ].'" height="'.$opt[ 'elemen…
40 …$iX.'" y="'.$iY.'" width="'.$opt[ 'elementWidth' ].'" height="'.( $opt[ 'elementHeight' ] / 2.65 )…
41opt[ 'elementWidth' ] / 2 ) ).'" y="'.( $iY + ( $opt[ 'elementHeight' ] / 3.6 ) ).'" style="font-w…
42opt[ 'elementWidth' ] / 8 ) ).'" y1="'.( $iY + ( $opt[ 'elementHeight' ] / 2 ) ).'" x2="'.( ( $iX …
43opt[ 'elementWidth' ] / 8 ) ) + ( $opt[ 'elementWidth' ] / 1.35 ) ).'" y1="'.( $iY + ( $opt[ 'elem…
[all …]
Dswitchpanel.case.2of.class.php3 public static function getSvg( $oCase, $iX, $iY, $opt ){ argument
6 …et( $oCase[ 'options' ][ 'target' ] ) ? $oCase[ 'options' ][ 'target' ] : $opt[ 'target' ] ).'" st…
20 $sColor = $opt[ 'color' ];
26 $sLabelBgColor = $opt[ 'labelBgColor' ];
32 $sLabelTxtColor = $opt[ 'labelTxtColor' ];
38 …$sSvg .= '<rect x="'.$iX.'" y="'.$iY.'" width="'.$opt[ 'elementWidth' ].'" height="'.$opt[ 'elemen…
39 …$iX.'" y="'.$iY.'" width="'.$opt[ 'elementWidth' ].'" height="'.( $opt[ 'elementHeight' ] / 2.65 )…
40opt[ 'elementWidth' ] / 2 ) ).'" y="'.( $iY + ( $opt[ 'elementHeight' ] / 3.6 ) ).'" style="font-w…
41 … ( $opt[ 'elementWidth' ] / 8 ) ).'" y="'.( $iY + ( $opt[ 'elementHeight' ] / 2 ) ).'" width="'.( …
42 …<circle cx="'.( $iX + ( $opt[ 'elementWidth' ] / 3.2 ) ).'" cy="'.( $iY + ( $opt[ 'elementHeight' …
[all …]
Dswitchpanel.case.of.class.php3 public static function getSvg( $oCase, $iX, $iY, $opt ){ argument
6 …et( $oCase[ 'options' ][ 'target' ] ) ? $oCase[ 'options' ][ 'target' ] : $opt[ 'target' ] ).'" st…
20 $sColor = $opt[ 'color' ];
26 $sLabelBgColor = $opt[ 'labelBgColor' ];
32 $sLabelTxtColor = $opt[ 'labelTxtColor' ];
38 …$sSvg .= '<rect x="'.$iX.'" y="'.$iY.'" width="'.$opt[ 'elementWidth' ].'" height="'.$opt[ 'elemen…
39 …$iX.'" y="'.$iY.'" width="'.$opt[ 'elementWidth' ].'" height="'.( $opt[ 'elementHeight' ] / 2.65 )…
40opt[ 'elementWidth' ] / 2 ) ).'" y="'.( $iY + ( $opt[ 'elementHeight' ] / 3.6 ) ).'" style="font-w…
41 … ( $opt[ 'elementWidth' ] / 8 ) ).'" y="'.( $iY + ( $opt[ 'elementHeight' ] / 2 ) ).'" width="'.( …
42 …<circle cx="'.( $iX + ( $opt[ 'elementWidth' ] / 2 ) ).'" cy="'.( $iY + ( $opt[ 'elementHeight' ] …
[all …]
Dswitchpanel.case.gbic.class.php3 public static function getSvg( $oCase, $iX, $iY, $opt ){ argument
6 …et( $oCase[ 'options' ][ 'target' ] ) ? $oCase[ 'options' ][ 'target' ] : $opt[ 'target' ] ).'" st…
20 $sColor = $opt[ 'color' ];
26 $sLabelBgColor = $opt[ 'labelBgColor' ];
32 $sLabelTxtColor = $opt[ 'labelTxtColor' ];
38 …$sSvg .= '<rect x="'.$iX.'" y="'.$iY.'" width="'.$opt[ 'elementWidth' ].'" height="'.$opt[ 'elemen…
39 …$iX.'" y="'.$iY.'" width="'.$opt[ 'elementWidth' ].'" height="'.( $opt[ 'elementHeight' ] / 2.65 )…
40opt[ 'elementWidth' ] / 2 ) ).'" y="'.( $iY + ( $opt[ 'elementHeight' ] / 3.6 ) ).'" style="font-w…
41 … ( $opt[ 'elementWidth' ] / 8 ) ).'" y="'.( $iY + ( $opt[ 'elementHeight' ] / 2 ) ).'" width="'.( …
44 …$opt[ 'elementWidth' ] / 2 ) ).'" y="'.( $iY + ( $opt[ 'elementHeight' ] / 1.25 ) ).'" text-anchor…
/plugin/pagequery/
Dsyntax.php50 $opt = [];
56 $opt['query'] = $params[0];
59 $opt['border'] = 'none'; // show borders around entire list and/or between columns
60 $opt['bullet'] = 'none'; // bullet style for list items
61 $opt['casesort'] = false; // allow case sorting
62 …$opt['cols'] = 1; // number of displayed columns (fixed for table layout, max for co…
63 $opt['dformat'] = "%d %b %Y"; // general display date format
64 $opt['display'] = 'name'; // how page links should be displayed
65 $opt['filter'] = []; // filtering by metadata prior to sorting
66 $opt['fontsize'] = ''; // base fontsize of pagequery; best to use %
[all …]
DPageQuery.php53 final public function renderAsHtml(string $layout, $sorted_results, $opt, $count) argument
55 $this->snippet_cnt = $opt['snippet']['count'];
57 return $this->$render_type($sorted_results, $opt, $count);
93 * @param array $opt all user options/settings
99 final public function buildSortingArray(array $ids, array $opt): array argument
114 $from_title = isset($opt['sort']['title']);
117 $get_abstract = ($opt['snippet']['type'] !== 'none');
120 $extrakeys = array_diff_key($opt['filter'], $opt['sort']);
121 $col_keys = array_merge($opt['sort'], $extrakeys);
228 … $wformat[$key] = ($opt['spelldate']) ? $this->dateFormatWords($dformat[$key]) : '';
[all …]
/plugin/switchpanel/
Dsyntax.php47 $opt = array(
98 if( $sKey == 'content' || !array_key_exists( $sKey, $opt ) ){
103 if( is_bool( $opt[ $sKey ] ) ){
104 $opt[ $sKey ] = ( strtolower( $sVal ) == 'true' );
105 }else if( is_int( $opt[ $sKey ] ) ){
106 $opt[ $sKey ] = intval( $sVal );
108 $opt[ $sKey ] = $sVal;
228 $oElement[ 'options' ][ $sProp ] = $opt[ $sProp ];
246 $opt[ 'content' ] = $oContent;
247 return $opt;
[all …]
/plugin/yearbox/
Dsyntax.php68 $opt = [];
71 $opt['ns'] = $INFO['namespace'] ?? ''; // this namespace
72 $opt['size'] = 12; // 12px font size
73 $opt['name'] = 'day'; // a boring default page name
74 $opt['year'] = date('Y'); // this year
75 $opt['recent'] = false; // special 1-2 row 'recent pages' view...
76 … $opt['months'] = []; // months to be displayed (csv list), e.g. 1,2,3,4... 1=Sun
77 $opt['weekdays'] = []; // weekdays which should have links (csv links)... 1=Jan
78 $opt['align'] = ''; // default is centred
86 $opt['year'] = $value;
[all …]
/plugin/csv/
Dhelper.php55 $opt = helper_plugin_csv::getDefaultOpt();
75 $opt['file'] = $option;
77 $opt[$option] = $value;
82 if ($opt['delim'] == 'tab') $opt['delim'] = "\t";
85 if ($opt['file'] !== '' && !preg_match('/^https?:\/\//i', $opt['file'])) {
87 $opt['file'] = $resolver->resolveId($opt['file']);
102 $opt['filter'][$col - 1] = $text; // use zero based index internally
107 [$c, $r] = array_pad(explode(',', $opt['output']), 2, 0);
108 $opt['outc'] = (int)$c;
109 $opt['outr'] = (int)$r;
[all …]
/plugin/farm/
Danimalmanager.class.php42 if(isset($this->manager->opt['new'])) {
43 if(isset($this->manager->opt['save'])) {
53 unset($this->manager->opt['save']);
54 unset($this->manager->opt['new']);
55 $this->manager->opt['aid'] = $n;
65 if(!isset($this->manager->opt['aid'])) {
69 if(!dokuwiki_farm_animal::exists($this->manager->opt['aid'])) {
70 …rs', array('code' => 'animal_unknownanimal_failure', 'data' => array($this->manager->opt['aid'])));
73 $this->animal = new dokuwiki_farm_animal($this->manager->opt['aid'], $this->manager);
77 !isset($this->manager->opt['status']) &&
[all …]
/plugin/podcast/action/
Dfeed.php30 $opt =& $event->data['opt'];
31 if ($opt['feed_mode'] != 'podcast') return;
32 $opt['blog'] = $_REQUEST['blog'];
33 $opt['tags'] = $_REQUEST['tags'];
34 $opt['sortby'] = $_REQUEST['sortby'];
35 $opt['sortorder'] = $_REQUEST['sortorder'];
36 $opt['podcast_format'] = $_REQUEST['podcast_format'];
37 $opt['podcast_extensions'] = explode( ',', $this->getConf( 'podcast_extensions' ));
38 $opt['feed_type'] = 'RSS2.0';
41 $opt = $event->data['opt'];
[all …]
/plugin/subjectindex/syntax/
Dindex.php50 $opt = array();
53 $opt['abstract'] = true; // show snippet (abstract) of page content
54 $opt['border'] = 'none'; // show borders around table and between columns
55 … $opt['cols'] = 1; // number of columns in a SubjectIndex display page (max=12)
56 …$opt['default'] = false; // whether this display index page is the default for this index …
57 $opt['hideatoz'] = false; // turn off the A,B,C main headings
58 $opt['proper'] = false; // use proper-case for page names
59 $opt['title'] = false; // use title (first heading) instead of page name
60 …$opt['section'] = 0; // which section to use and display (0-9)...hopefully 10 is enough
61 $opt['showorder'] = false; // display any bullet numbers used for ordering
[all …]
/plugin/csv/syntax/
Dvalue.php46 $opt = helper_plugin_csv::parseOptions($optstr);
48 return $opt;
52 * @param array $opt
55 public function getCachedValue($opt) argument
57 $r = $opt['outr'] + $opt['hdr_rows'];
58 $c = $opt['outc'];
59 unset($opt['output']);
60 unset($opt['outr']);
61 unset($opt['outc']);
63 $cache = md5(serialize($opt));
[all …]
Dtable.php49 $opt = helper_plugin_csv::parseOptions($optstr);
50 $opt['content'] = $content;
52 return $opt;
56 public function render($mode, Doku_Renderer $renderer, $opt) argument
61 if ($opt['file']) {
63 $opt['content'] = helper_plugin_csv::loadContent($opt['file']);
64 if (!media_ispublic($opt['file'])) $renderer->info['cache'] = false;
72 $content =& $opt['content'];
79 $data = helper_plugin_csv::prepareData($content, $opt);
93 ($opt['hdr_rows']) ? $renderer->tablethead_open() : $renderer->tabletbody_open();
[all …]
/plugin/bureaucracyau/helper/
Dfieldyesno.php26 $this->opt['value'] = '1';
28 $this->opt['value'] = '0';
30 $this->opt['true_value'] = substr($arg, 1);
34 $this->opt['false_value'] = substr($arg, 1);
41 $this->opt['optional'] = true;
52 if ($this->opt['value'] === '1') {
53 return isset($this->opt['true_value']) ?
54 $this->opt['true_value'] :
56 } elseif ($this->opt['value'] === '0') {
57 return isset($this->opt['false_value']) ?
[all …]
/plugin/bureaucracy/helper/
Dfieldyesno.php26 $this->opt['value'] = '1';
28 $this->opt['value'] = '0';
30 $this->opt['true_value'] = substr($arg, 1);
34 $this->opt['false_value'] = substr($arg, 1);
41 $this->opt['optional'] = true;
52 if ($this->opt['value'] === '1') {
53 return isset($this->opt['true_value']) ?
54 $this->opt['true_value'] :
56 } elseif ($this->opt['value'] === '0') {
57 return isset($this->opt['false_value']) ?
[all …]
/plugin/bureaucracy-au/helper/
Dfieldyesno.php26 $this->opt['value'] = '1';
28 $this->opt['value'] = '0';
30 $this->opt['true_value'] = substr($arg, 1);
34 $this->opt['false_value'] = substr($arg, 1);
41 $this->opt['optional'] = true;
52 if ($this->opt['value'] === '1') {
53 return isset($this->opt['true_value']) ?
54 $this->opt['true_value'] :
56 } elseif ($this->opt['value'] === '0') {
57 return isset($this->opt['false_value']) ?
[all …]
/plugin/asciidocjs/node_modules/handlebars/bin/
Dhandlebars132 var opt = spec[arg];
133 opts[opt.type].push(arg);
134 if ('alias' in opt) opts.alias[arg] = opt.alias;
135 if ('default' in opt) opts.default[arg] = opt.default;
152 var opt = spec[arg];
155 if ('alias' in opt) name += ', --' + opt.alias;
157 var meta = '[' + opt.type + ']';
158 if ('default' in opt) meta += ' [default: ' + JSON.stringify(opt.default) + ']';
160 opts.push({ name: name, desc: opt.description, meta: meta });
165 opts.forEach(function (opt) {
[all …]
/plugin/tagfilter/syntax/
Dfilter.php150 * @param array $opt data created by handler()
153 public function render($format, Doku_Renderer $renderer, $opt) argument
159 $flags = $opt['tagfilterFlags'];
179 $dir = utf8_encodeFN(str_replace(':', '/', $opt['ns']));
182 'ns' => $opt['ns'],
192 $filterDataCacheKey = 'plugin_tagfilter_' . $ID . '_' . $opt['id'];
195 $cachedata = $HtagfilterSyntax->getTagPageRelations($opt);
205 …$htmlPerUserCacheKey = 'plugin_tagfilter_' . $ID . '_' . $opt['id'] . '_' . $INPUT->server->str('R…
220 $html = $this->htmlOutput($tagFilters, $allPageids, $preparedPages, $opt);
231 $this->htmlPrepareOutput($tagFilters, $allPageids, $preparedPages, $opt);
[all …]
/plugin/blogtng/action/
Dfeed.php46 $opt =& $event->data['opt'];
47 if ($opt['feed_mode'] != 'blogtng') return;
51 $opt['blog'] = $INPUT->str('blog');
52 $opt['tags'] = $INPUT->str('tags');
53 $opt['sortby'] = $INPUT->str('sortby');
54 $opt['sortorder'] = $INPUT->str('sortorder');
67 $opt = $event->data['opt'];
68 if ($opt['feed_mode'] != 'blogtng') return;
73 'blog' => explode(',', $opt['blog']),
74 'tags' => ($opt['tags'] ? explode(',', $opt['tags']) : null),
[all …]
/plugin/patchpanel/
Dsyntax.php67 $opt = array(
76 list($optstr,$opt['content']) = explode('>',$match,2);
87 $opt['name'] = htmlspecialchars(trim($matches[1], '"\''), ENT_QUOTES);
89 $opt['ports'] = $matches[1];
91 $opt['rows'] = $matches[1];
93 $opt['groups'] = $matches[1];
95 $opt['rotate'] = $matches[1];
97 $opt['switch'] = $matches[1];
100 return $opt;
105 function ethernet_svg($row, $position, $port, $item, $opt, $imagewidth, $imageheight) { argument
[all …]
/plugin/struct/types/
H A DCheckbox.php34 $opt = array_shift($options);
36 if ($rawvalue == $opt) {
41 $opt = hsc($opt);
44 'value' => $opt,
51 return "<label><input $attributes>&nbsp;$opt</label>";
68 foreach ($this->getOptions() as $opt) {
69 if (in_array($opt, $rawvalues)) {
77 'value' => $opt,
86 $opt = hsc($opt);
87 $html .= "<label><input $attributes>&nbsp;$opt</label>";
/plugin/rack/
Dsyntax.php92 $opt = array(
98 list($optstr,$opt['content']) = explode('>',$match,2);
106 $opt['name'] = $matches[1];
108 $opt['height'] = $matches[1];
110 $opt['descending'] = 1;
113 return $opt;
134 function render($mode, Doku_Renderer $renderer, $opt) { argument
137 $content = $opt['content'];
171 $item['u_top'] = $item['u_bottom'] + ($opt['descending']?-1:1)*($item['u_size'] - 1);
173 …$csv .= "\"$item[model]\",\"$item[name]\",$opt[name],$item[u_bottom],$item[u_size],\"$item[comment…
[all …]

12345678910>>...12