/plugin/bureaucracy-au/helper/ |
H A D | field.php | 20 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 …]
|
H A D | fieldnumber.php | 35 if (!isset($this->opt['value'])) { 36 $this->opt['value'] = 0; 38 p_set_metadata($ID, array('bureaucracy' => array($key => $this->opt['value']))); 40 $this->opt['value'] = $c_val; 43 $this->opt['value'] = $this->addLeadingzeros($this->opt['value']); 83 return preg_replace('/\W/', '', $this->opt['label']) . '_autoinc'; 94 … p_set_metadata($ID, array('bureaucracy' => array($this->get_key() => $this->opt['value'] + 1))); 110 if($this->opt['leadingzeros']) { 112 for($i = $length; $i < $this->opt['leadingzeros']; $i++) {
|
H A D | fieldfile.php | 20 $this->opt['namespace'] = '.'; 24 $this->opt['namespace'] = array_shift($args); 29 if(!isset($this->opt['optional'])) { 35 if(!isset($this->opt['optional'])){ 52 $this->opt['file'] = $value; 68 if(!isset($this->opt['optional'])) { 69 throw new Exception(sprintf($this->getLang('e_required'),hsc($this->opt['label']))); 72 …throw new Exception(hsc($this->opt['label']) .' '. $lang['uploadfail'] . ' (' .$file['error'] . ')…
|
H A D | fieldmultiselect.php | 20 $this->opt['args'] = array_map('trim', explode('|',array_shift($args))); 22 if (isset($this->opt['value'])) { 23 $this->opt['value'] = array_map('trim', explode(',', $this->opt['value'])); 25 $this->opt['value'] = array(); 47 $params = array_merge($this->opt, $params); 53 $this->opt['value'],
|
H A D | fieldselect.php | 22 $this->opt['args'] = array_map('trim', explode('|',array_shift($args))); 24 if (!isset($this->opt['value']) && isset($this->opt['optional'])) { 25 array_unshift($this->opt['args'],' '); 47 $params = array_merge($this->opt, $params);
|
/plugin/bureaucracy/helper/ |
H A D | field.php | 20 public $opt = array(); variable in helper_plugin_bureaucracy_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 …]
|
H A D | fieldnumber.php | 35 if (!isset($this->opt['value'])) { 36 $this->opt['value'] = 0; 38 p_set_metadata($ID, array('bureaucracy' => array($key => $this->opt['value']))); 40 $this->opt['value'] = $c_val; 43 $this->opt['value'] = $this->addLeadingzeros($this->opt['value']); 83 return preg_replace('/\W/', '', $this->opt['label']) . '_autoinc'; 94 … p_set_metadata($ID, array('bureaucracy' => array($this->get_key() => $this->opt['value'] + 1))); 110 if (isset($this->opt['leadingzeros'])) { 112 for($i = $length; $i < $this->opt['leadingzeros']; $i++) {
|
H A D | fieldfile.php | 20 $this->opt['namespace'] = '.'; 24 $this->opt['namespace'] = array_shift($args); 29 if(!isset($this->opt['optional'])) { 35 if(!isset($this->opt['optional'])){ 52 $this->opt['file'] = $value; 68 if(!isset($this->opt['optional'])) { 69 throw new Exception(sprintf($this->getLang('e_required'),hsc($this->opt['label']))); 72 …throw new Exception(hsc($this->opt['label']) .' '. $lang['uploadfail'] . ' (' .$file['error'] . ')…
|
H A D | fieldmultiselect.php | 20 $this->opt['args'] = array_map('trim', explode('|',array_shift($args))); 22 if (isset($this->opt['value'])) { 23 $this->opt['value'] = array_map('trim', explode(',', $this->opt['value'])); 25 $this->opt['value'] = array(); 47 $params = array_merge($this->opt, $params); 53 $this->opt['value'],
|
H A D | fieldselect.php | 22 $this->opt['args'] = array_map('trim', explode('|',array_shift($args))); 24 if (!isset($this->opt['value']) && isset($this->opt['optional'])) { 25 array_unshift($this->opt['args'],' '); 47 $params = array_merge($this->opt, $params);
|
/plugin/datepicker/ |
H A D | syntax.php | 90 if($opt["mode"] == 'weekpicker'){ 94 else if ($opt["mode"] == 'datepicker'){ 99 if($opt['date'] === ""){ 100 $opt['date']=$empty; 105 $id = $opt["id"]; 108 switch($opt['option']){ 113 $renderer->doc .= hsc($opt['date']); 118 $renderer->doc .= hsc($opt['date'])."</span><br>"; 123 $renderer->doc .= hsc($opt['date'])."</span>"; 129 $renderer->doc .= hsc($opt['date']); [all …]
|
/plugin/farm/ |
H A D | soapconfig.class.php | 45 !(isset($this->manager->opt['app']) && isset($this->manager->opt['save'])) && 46 !(isset($this->manager->opt['app']) && isset($this->manager->opt['delete'])) && 47 !(isset($this->manager->opt['new']) && isset($this->manager->opt['save'])) && 71 if(isset($this->manager->opt['delete']) && isset($this->manager->opt['app'])) { 81 unset($this->manager->opt['app']); 125 if(isset($this->manager->opt['new']) && isset($this->manager->opt['save'])) { 136 $this->manager->opt['app'] = $name; 143 if(isset($this->manager->opt['save']) && isset($this->manager->opt['app'])) { 195 if(isset($this->manager->opt['app']) || isset($this->manager->opt['new'])) { 198 if(isset($this->manager->opt['app'])) $hf['farm_opt[app]'] = $this->manager->opt['app']; [all …]
|
H A D | admin.php | 40 var $opt = array(); variable in admin_plugin_farm 216 function wl($cmd, $opt = array()) { argument 219 foreach($opt as $k => $v) $p['farm_opt__'.$k] = $v; 253 $this->opt = array(); 270 $this->opt[$k] = $v; 272 $this->opt[$k] = $t[$k]; 290 if(!isset($this->opt[$k])) $this->opt[$k] = $v; 292 }else $this->opt[$_REQUEST['farm_opt']] = true; 298 $this->opt[$m[1]] = $v; 353 …opt['aid'])) ptln(' <a class="current_cmd" href="'.$this->wl('animal', array('aid' => $this->opt[… [all …]
|
/plugin/bureaucracyau/helper/ |
H A D | fieldnumber.php | 35 if (!isset($this->opt['value'])) { 36 $this->opt['value'] = 0; 38 p_set_metadata($ID, array('bureaucracyau' => array($key => $this->opt['value']))); 40 $this->opt['value'] = $c_val; 43 $this->opt['value'] = $this->addLeadingzeros($this->opt['value']); 83 return preg_replace('/\W/', '', $this->opt['label']) . '_autoinc'; 94 … p_set_metadata($ID, array('bureaucracyau' => array($this->get_key() => $this->opt['value'] + 1))); 110 if($this->opt['leadingzeros']) { 112 for($i = $length; $i < $this->opt['leadingzeros']; $i++) {
|
H A D | fieldfile.php | 20 $this->opt['namespace'] = '.'; 24 $this->opt['namespace'] = array_shift($args); 29 if(!isset($this->opt['optional'])) { 35 if(!isset($this->opt['optional'])){ 52 $this->opt['file'] = $value; 68 if(!isset($this->opt['optional'])) { 69 throw new Exception(sprintf($this->getLang('e_required'),hsc($this->opt['label']))); 72 …throw new Exception(hsc($this->opt['label']) .' '. $lang['uploadfail'] . ' (' .$file['error'] . ')…
|
H A D | fieldmultiselect.php | 20 $this->opt['args'] = array_map('trim', explode('|',array_shift($args))); 22 if (isset($this->opt['value'])) { 23 $this->opt['value'] = array_map('trim', explode(',', $this->opt['value'])); 25 $this->opt['value'] = array(); 47 $params = array_merge($this->opt, $params); 53 $this->opt['value'],
|
H A D | fieldselect.php | 22 $this->opt['args'] = array_map('trim', explode('|',array_shift($args))); 24 if (!isset($this->opt['value']) && isset($this->opt['optional'])) { 25 array_unshift($this->opt['args'],' '); 47 $params = array_merge($this->opt, $params);
|
/plugin/switchpanel/tpl/ |
H A D | switchpanel.text.none.class.php | 3 public static function getSvg( $oText, $iX, $iY, $opt, $iWidthSvg ){ argument 4 $iHeightText = $opt[ 'textSize' ]; 8 $sTextBgColor = $opt[ 'textBgColor' ]; 12 $sTextColor = $opt[ 'textColor' ]; 16 $sBrColor = $opt[ 'textBrColor' ]; 20 $sBrRadius = $opt[ 'textBrRadius' ]; 43 …ll="black" y="'.( ( $iY + $iHeightText ) - ( $opt[ 'elementSeparatorWidth' ] / 2 ) ).'" x="'.( $iX…
|
H A D | switchpanel.screw.none.class.php | 3 public static function getSvg( $iX, $iY, $opt ){ argument 4 …return '<rect fill="'.$opt[ 'screwColor' ].'" x="'.$iX.'" y="'.$iY.'" width="'.$opt[ 'screwWidth' …
|
/plugin/upgrade/vendor/splitbrain/php-cli/src/ |
H A D | Options.php | 251 $opt = array_shift($arg); 254 if (!isset($this->setup[$this->command]['opts'][$opt])) { 255 throw new Exception("No such option '$opt'", Exception::E_UNKNOWN_OPT); 259 if ($this->setup[$this->command]['opts'][$opt]['needsarg']) { 264 throw new Exception("Option $opt requires an argument", 267 $this->options[$opt] = $val; 269 $this->options[$opt] = true; 276 $opt = substr($arg, 1); 277 if (!isset($this->setup[$this->command]['short'][$opt])) { 280 $opt [all...] |
/plugin/csv/_test/ |
H A D | CSVTest.php | 83 $opt = \helper_plugin_csv::getDefaultOpt(); 85 $data = \helper_plugin_csv::prepareData($contents, $opt); 97 $opt = \helper_plugin_csv::getDefaultOpt(); 98 $opt['filter'][4] = '^FEMALE$'; 100 $data = \helper_plugin_csv::prepareData($contents, $opt); 104 $opt['filter'][1] = '^.*?jessica.*?$'; 105 $data = \helper_plugin_csv::prepareData($contents, $opt); 142 $opt = \helper_plugin_csv::getDefaultOpt(); 143 unset($opt['output']); 145 $expect = array_merge($opt, $expect);
|
/plugin/rack/ |
H A D | syntax.php | 144 function render($mode, &$renderer, $opt) { argument 147 $content = $opt['content']; 181 $item['u_top'] = $item['u_bottom'] + ($opt['descending']?-1:1)*($item['u_size'] - 1); 183 …$csv .= "\"$item[model]\",\"$item[name]\",$opt[name],$item[u_bottom],$item[u_size],\"$item[comment… 192 $u_first = $opt['descending'] ? 1 : $opt['height']; 193 $u_last = $opt['descending'] ? $opt['height'] : 1; 194 $u_delta = $opt['descending'] ? +1 : -1; 195 $renderer->doc .= "<table class='rack'><tr><th colspan='2' class='title'>$opt[name]</th></tr>\n"; 198 for ($u=$u_first; ($opt['descending'] ? $u<=$u_last : $u>=$u_last); $u += $u_delta) {
|
/plugin/jplayer/vendor/james-heinrich/getid3/demos/ |
H A D | demo.dirscan.php | 181 * @param array $opt database options, 183 …function scan_files($dir, $match, $cache='sqlite3', $opt=array('table'=>'getid3_cache', 'hide'=>tr… argument 190 $id3 = new getID3_cached_sqlite3($opt['table'], $opt['hide']); 196 …$id3 = new getID3_cached_mysql($opt['host'], $opt['database'], $opt['username'], $opt['password'],…
|
/plugin/socialshareprivacy2/ |
H A D | action.php | 55 foreach ($options as $opt) { 56 $opt_value=$this->getConf("$opt"); 57 $parts = explode("_", $opt, 2); 84 foreach ($options as $opt) { 85 list($service, $setting) = explode("_", $opt, 2); 86 $value = $this->getConf($opt);
|
/plugin/blogtng/syntax/ |
H A D | blog.php | 210 function _parse_opt($opt) { argument 212 case (in_array($opt, $this->data_whitelist['sortorder'])): 213 $this->config['sortorder'] = strtoupper($opt); 215 case (in_array($opt, $this->data_whitelist['sortby'])): 216 $this->config['sortby'] = substr($opt, 2); 218 case (preg_match('/^\d$/', $opt)): 219 $this->config['limit'] = $opt; 221 case (preg_match('/^\+(\d+)$/', $opt, $match)): 224 case (preg_match('/^tpl(\w+)$/', $opt, $match)):
|