/plugin/bureaucracy-au/helper/ |
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);
|
H A D | fieldstatic.php | 20 $this->opt['optional'] = true; 54 if (!isset($this->opt['display'])) { 55 $this->opt['display'] = $this->opt['label'];
|
H A D | fieldsubmit.php | 23 $this->opt['optional'] = true; 44 if(isset($this->opt['id'])) { 45 $attr['id'] = $this->opt['id'];
|
H A D | fieldtextarea.php | 17 $this->opt['class'] .= ' textareafield';
|
H A D | fieldtextbox.php | 22 if(!isset($this->opt['optional'])) { 27 if(isset($this->opt['class'])){ 28 $this->tpl['class'] .= ' '.$this->opt['class']; 30 if(!isset($this->opt['optional'])){
|
H A D | fieldtime.php | 22 if(!isset($this->opt['optional'])) {
|
H A D | fieldusemailtemplate.php | 24 $this->opt = array_combine(array('cmd', 'template'), $args);
|
H A D | fielduser.php | 29 $label = $this->opt['label']; 47 $value = $this->opt['value'];
|
H A D | fieldusers.php | 29 $label = $this->opt['label']; 46 $value = $this->opt['value'];
|
H A D | fieldwiki.php | 21 $this->opt['optional'] = true;
|
H A D | fieldyesno.php | 26 $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/bureaucracy-au/ |
H A D | syntax.php | 207 if(isset($field->opt['value'])) { 208 $field->opt['value'] = $this->replace($field->opt['value']); 278 } else if(isset($data['fields'][$i]->opt['label'])) { 280 $label = $data['fields'][$i]->opt['label']; 282 $data['fields'][$i]->opt['display'] = $labels[$label];
|
/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 | fieldaddpage.php | 25 $this->opt = array_combine(array('cmd', 'page_tpl', 'page_tgt'), $args);
|
H A D | fielddate.php | 22 if(!isset($this->opt['optional'])) {
|
H A D | fieldfieldset.php | 23 $this->opt = array('cmd' => array_shift($args)); 26 $this->opt['label'] = array_shift($args); 27 $this->opt['display'] = $this->opt['label'];
|
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 | fieldhidden.php | 37 … if (!isset($this->opt[$name]) || in_array($name, array('pagename', 'value')) && $this->hidden) { 45 return $this->opt[$name];
|
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 | 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 | fieldpassword.php | 20 if(!isset($this->opt['optional'])) { 25 if(!isset($this->opt['optional'])){
|
H A D | fieldradio.php | 22 $this->opt['args'] = array_filter(array_map('trim', explode('|',array_shift($args)))); 44 $params = array_merge($this->opt, $params);
|
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);
|
H A D | fieldstatic.php | 20 $this->opt['optional'] = true; 54 if (!isset($this->opt['display'])) { 55 $this->opt['display'] = $this->opt['label'];
|
H A D | fieldsubmit.php | 23 $this->opt['optional'] = true; 44 if(isset($this->opt['id'])) { 45 $attr['id'] = $this->opt['id'];
|