Home
last modified time | relevance | path

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

12345678910

/plugin/switchpanel/tpl/
H A Dswitchpanel.case.rj45.class.php3 public static function getSvg( $oCase, $iX, $iY, $opt ){ argument
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…
57opt[ 'elementWidth' ] / 1.625 ) ).'" y="'.( $iY + ( $opt[ 'elementHeight' ] / 1.2 ) ).'" width="'.…
59opt[ 'elementWidth' ] / 8 ) ).'" y="'.( $iY + ( $opt[ 'elementHeight' ] / 1.2 ) ).'" width="'.( $o…
[all …]
H A Dswitchpanel.case.serial.class.php3 public static function getSvg( $oCase, $iX, $iY, $opt ){ argument
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 )…
41opt[ 'elementWidth' ] / 6 ) ).','.( $iY + ( $opt[ 'elementHeight' ] / 1.9 ) ).' C'.( $iX + ( $opt[…
42opt[ 'elementWidth' ] / 6 ) ).','.( $iY + ( $opt[ 'elementHeight' ] / 1.8 ) ).' C'.( $iX + ( $opt[…
43opt[ 'elementWidth' ] / 6 ) ).','.( $iY + ( $opt[ 'elementHeight' ] / 1.7 ) ).' C'.( $iX + ( $opt[…
44 …+ ( $opt[ 'elementWidth' ] / 8 ) ).'" y="'.( $iY + ( $opt[ 'elementHeight' ] / 2 ) ).'" width="'.(…
[all …]
H A Dswitchpanel.case.close.class.php3 public static function getSvg( $oCase, $iX, $iY, $opt ){ argument
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…
44 … ( $opt[ 'elementWidth' ] / 8 ) ).'" y="'.( $iY + ( $opt[ 'elementHeight' ] / 2 ) ).'" width="'.( …
[all …]
H A Dswitchpanel.case.2of.class.php3 public static function getSvg( $oCase, $iX, $iY, $opt ){ argument
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' …
43 …<circle cx="'.( $iX + ( $opt[ 'elementWidth' ] / 1.45 ) ).'" cy="'.( $iY + ( $opt[ 'elementHeight'…
[all …]
H A 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 …]
H A 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/
H A 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 column layout
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['fontsiz
[all...]
H A DPageQuery.php52 final public function renderAsHtml(string $layout, $sorted_results, $opt, $count)
54 $this->snippet_cnt = $opt['snippet']['count'];
56 return $this->$render_type($sorted_results, $opt, $count);
95 * @param array $opt all user options/settings
101 final public function buildSortingArray(array $ids, array $opt): array
116 $from_title = isset($opt['sort']['title']);
119 $get_abstract = ($opt['snippet']['type'] !== 'none');
122 $extrakeys = array_diff_key($opt['filter'], $opt['sort']);
123 $col_keys = array_merge($opt['sor
53 renderAsHtml(string $layout, $sorted_results, $opt, $count) global() argument
102 buildSortingArray(array $ids, array $opt) global() argument
797 renderAsHtmltable($sorted_results, $opt, $count) global() argument
978 htmlWikilink(string $id, string $display, string $abstract, array $opt, bool $track_snippets = true, bool $raw = false) global() argument
1087 renderAsHtmlcolumn(array $sorted_results, array $opt, int $count) global() argument
[all...]
/plugin/switchpanel/
H A Dsyntax.php47 $opt = array(
108 $opt[ $sKey ] = $sVal;
247 return $opt;
306 if( $opt[ 'group' ] > 0 ){
314 $iGroup = $opt[ 'group' ];
316 …( $opt[ 'showEars' ] ? ( $opt[ 'elementWidth' ] * 4 ) : ( $opt[ 'elementSeparatorWidth' ] * 2 ) ) …
367 if( $opt[ 'showEars' ] ){
393 …_screw_none::getSvg( ( $iWidthSvg - $opt[ 'elementSeparatorWidth' ] - $opt[ 'screwWidth' ] ), $iPo…
402 $iIndexX = $opt[ 'showEars' ] ? ( $opt[ 'elementWidth' ] * 2 ) : $opt[ 'elementSeparatorWidth' ];
427 $iMoveX = $opt[ 'elementWidth' ] - $opt[ 'elementSeparatorWidth' ];
[all …]
/plugin/yearbox/
H A Dsyntax.php68 $opt = [];
123 return $opt;
156 private function buildCalendar($opt) argument
166 $font_css = ($opt['size'] != 0) ? ' style="font-size:' . $opt['size'] . 'px;"' : '';
167 if ($opt['align'] == 'left') {
193 $opt,
226 $opt, argument
275 … $id = $pagenameService->getPageId($opt['ns'], $year_num, $month_fmt, $day_fmt, $opt['name']);
295 if (empty($opt['weekdays'])) {
342 * @param array $opt users options
[all …]
/plugin/csv/
H A Dhelper.php78 if ($opt['delim'] == 'tab') $opt['delim'] = "\t";
81 if ($opt['file'] !== '' && !preg_match('/^https?:\/\//i', $opt['file'])) {
105 if ($opt['outc']) $opt['outc'] -= 1;
106 if ($opt['outr']) $opt['outr'] -= 1;
107 unset($opt['output']);
109 return $opt;
145 * @param array $opt
153 …$row = helper_plugin_csv::csv_explode_row($content, $opt['delim'], $opt['enclosure'], $opt['escape…
164 } elseif ($opt['offset'] && $line < $opt['offset'] + $opt['hdr_rows']) {
166 } elseif ($opt['maxlines'] && $line >= $opt['maxlines'] + $opt['hdr_rows']) {
[all …]
/plugin/podcast/action/
H A Dfeed.php30 $opt =& $event->data['opt'];
38 $opt['feed_type'] = 'RSS2.0';
41 $opt = $event->data['opt'];
47 'tags' => ($opt['tags'] ? explode(',', $opt['tags']) : null),
48 'sortby' => $opt['sortby'],
50 'limit' => $opt['items'],
77 $opt = $event->data['opt'];
79 $opt['link_to'] = 'current';
80 $opt['item_content'] = 'html';
105 && in_array( $opt['podcast_format'], $opt['podcast_extensions'] ))
[all …]
/plugin/farm/
H A Danimalmanager.class.php79 …!(isset($this->manager->opt['users']) && (isset($this->manager->opt['save']) || isset($this->manag…
80 …this->manager->opt['editfile']) && isset($this->manager->opt['save']) && isset($this->manager->opt
81 …s->manager->opt['editfile']) && isset($this->manager->opt['create']) && isset($this->manager->opt[…
82 …!(isset($this->manager->opt['delete']) && (isset($this->manager->opt['confirm']) || isset($this->m…
110 if(isset($this->manager->opt['users']) && isset($this->manager->opt['save'])) {
154 …this->manager->opt['editfile']) && isset($this->manager->opt['save']) && isset($this->manager->opt
166 …s->manager->opt['editfile']) && isset($this->manager->opt['create']) && isset($this->manager->opt[…
169 $this->manager->opt['file'] = base64_encode($this->manager->opt['file']);
195 …is->manager->opt['config']) && !isset($this->manager->opt['users']) && !isset($this->manager->opt[…
213 …is->manager->opt['config']) && !isset($this->manager->opt['users']) && !isset($this->manager->opt[…
[all …]
/plugin/csv/syntax/
H A Dvalue.php47 return $opt;
51 * @param array $opt
54 public function getCachedValue($opt) argument
56 $r = $opt['outr'] + $opt['hdr_rows'];
57 $c = $opt['outc'];
58 unset($opt['output']);
59 unset($opt['outr']);
60 unset($opt['outc']);
62 $cache = md5(serialize($opt));
84 if ($opt['file'] === '') {
[all …]
H A Dtable.php48 $opt = helper_plugin_csv::parseOptions($optstr);
49 $opt['content'] = $content;
51 return $opt;
55 public function render($mode, Doku_Renderer $renderer, $opt) argument
60 if ($opt['file']) {
62 $opt['content'] = helper_plugin_csv::loadContent($opt['file']);
71 $content =& $opt['content'];
95 if ($line > 0 && $line == $opt['hdr_rows']) {
103 if ($opt['span_empty_cols']) {
114 if ($line < $opt['hdr_rows'] || $i < $opt['hdr_cols']) {
[all …]
/plugin/subjectindex/syntax/
H A Dindex.php50 $opt = array();
109 $opt[$key] = $value;
115 if ($opt['default'] === true) {
118 return $opt;
136 $section_entries = $all_entries->filtered($opt['section'], $opt['regex']);
138 … $lines = $this->_create_index($section_entries, $all_pages, $opt['hideatoz'], $opt['proper']);
243 $outer_border = ($opt['border'] == 'outside' || $opt['border'] == 'both') ? 'border' : '';
244 … $inner_border = ($opt['border'] == 'inside' || $opt['border'] == 'both') ? 'inner-border' : '';
249 if ($opt['label'] != '') {
255 $cols = $opt['cols'];
[all …]
/plugin/bureaucracy-au/helper/
H A Dfieldyesno.php26 $this->opt['value'] = '1';
28 $this->opt['value'] = '0';
41 $this->opt['optional'] = true;
52 if ($this->opt['value'] === '1') {
54 $this->opt['true_value'] :
56 } elseif ($this->opt['value'] === '0') {
58 $this->opt['false_value'] :
71 return $this->opt['value'] === '1';
83 if(isset($this->opt['id'])) {
84 $id = $this->opt['id'];
[all …]
/plugin/bureaucracyau/helper/
H A Dfieldyesno.php26 $this->opt['value'] = '1';
28 $this->opt['value'] = '0';
41 $this->opt['optional'] = true;
52 if ($this->opt['value'] === '1') {
54 $this->opt['true_value'] :
56 } elseif ($this->opt['value'] === '0') {
58 $this->opt['false_value'] :
71 return $this->opt['value'] === '1';
83 if(isset($this->opt['id'])) {
84 $id = $this->opt['id'];
[all …]
H A Dfield.php20 public $opt = array(); variable in helper_plugin_bureaucracyau_field
79 $this->opt = array();
82 $this->opt[$key] = array_shift($args);
84 $this->opt['display'] = $this->opt['label']; // allow to modify display value independently
98 $this->opt['optional'] = true;
105 $this->opt['pagename'] = true;
107 $this->opt['replyto'] = true;
211 return $this->opt['cmd'];
242 $value = $this->opt['value'];
284 $this->opt['value'] = $value;
[all …]
/plugin/bureaucracy/helper/
H A Dfieldyesno.php26 $this->opt['value'] = '1';
28 $this->opt['value'] = '0';
41 $this->opt['optional'] = true;
52 if ($this->opt['value'] === '1') {
54 $this->opt['true_value'] :
56 } elseif ($this->opt['value'] === '0') {
58 $this->opt['false_value'] :
71 return $this->opt['value'] === '1';
83 if(isset($this->opt['id'])) {
84 $id = $this->opt['id'];
[all …]
/plugin/blogtng/action/
H A Dfeed.php46 $opt =& $event->data['opt'];
51 $opt['blog'] = $INPUT->str('blog');
52 $opt['tags'] = $INPUT->str('tags');
53 $opt['sortby'] = $INPUT->str('sortby');
67 $opt = $event->data['opt'];
73 'blog' => explode(',', $opt['blog']),
74 'tags' => ($opt['tags'] ? explode(',', $opt['tags']) : null),
75 'sortby' => $opt['sortby'],
76 'sortorder' => $opt['sortorder'],
77 'limit' => $opt['items'],
[all …]
/plugin/patchpanel/
H A Dsyntax.php67 $opt = array(
91 $opt['rows'] = $matches[1];
100 return $opt;
184 $content = $opt['content'];
222 $portsPerRow = ceil($opt['ports']/$opt['rows']);
230 if( $opt['rotate'] ){
244 if( $opt['rotate'] ){
259 if ($opt['switch']) {
261 if ($opt['switch'] == 1) {
297 if ($endPort > $opt['ports']) { $endPort = $opt['ports']; }
[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
[all...]
/plugin/tagfilter/syntax/
H A 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('REMOTE_USER')
220 $html = $this->htmlOutput($tagFilters, $allPageids, $preparedPages, $opt);
231 $this->htmlPrepareOutput($tagFilters, $allPageids, $preparedPages, $opt);
240 htmlOutput($tagFilters, $allPageids, $preparedPages, array $opt) global() argument
[all...]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Util/
H A DGetopt.php79 $opt = $arg[$i];
84 "unrecognized option -- $opt"
90 $opts[] = [$opt, substr($arg, $i + 1)];
97 "option requires an argument -- $opt"
104 $opts[] = [$opt, $opt_arg];
112 $opt = $list[0];
119 $opt_len = strlen($opt);
125 if ($opt_start != $opt) {
134 "option --$opt is ambiguous"
143 "option --$opt requires an argument"
[all …]

12345678910