Home
last modified time | relevance | path

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

123456789

/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.php48 $opt = array();
54 $opt['query'] = $params[0];
98 $opt[$option] = true;
179 $opt[$option] = $value;
216 return $opt;
235 $query = $opt['query'];
241 if ($opt['fulltext']) {
261 $results = $pq->validatePages($results, $opt['hidestart'], $opt['maxns']);
290 if ($opt['limit'] > 0) {
303 … $renderer->doc .= $pq->render_as_html($opt['layout'], $sorted_results, $opt, $count);
[all …]
H A DPageQuery.php118 $extrakeys = array_diff_key($opt['filter'], $opt['sort']);
779 * @param array $opt
822 if($opt['label'] !== '') {
880 if($opt['proper'] === 'header' || $opt['proper'] === 'both') {
896 if($opt['proper'] === 'name' || $opt['proper'] === 'both') {
952 * @param array $opt
961 array $opt, argument
1065 * @param array $opt
1078 $fontsize = (!empty($opt['fontsize'])) ? 'font-size:' . $opt['fontsize'] : '';
1117 if($opt['proper'] === 'header' || $opt['proper'] === 'both') {
[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/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/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/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/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/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 …]
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/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.php49 $opt =& $event->data['opt'];
52 $opt['blog'] = $_REQUEST['blog'];
53 $opt['tags'] = $_REQUEST['tags'];
54 $opt['sortby'] = $_REQUEST['sortby'];
68 $opt = $event->data['opt'];
74 'blog' => explode(',', $opt['blog']),
75 'tags' => ($opt['tags'] ? explode(',', $opt['tags']) : null),
76 'sortby' => $opt['sortby'],
77 'sortorder' => $opt['sortorder'],
78 '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.php36 $opt = array_shift($options);
38 if ($rawvalue == $opt) {
43 $opt = hsc($opt);
46 'value' => $opt,
53 return "<label><input $attributes>&nbsp;$opt</label>";
70 foreach ($this->getOptions() as $opt) {
71 if (in_array($opt, $rawvalues)) {
79 'value' => $opt,
88 $opt = hsc($opt);
89 $html .= "<label><input $attributes>&nbsp;$opt</label>";
/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 …]

123456789