Home
last modified time | relevance | path

Searched refs:opt (Results 26 – 50 of 249) sorted by path

12345678910

/plugin/bureaucracy-au/helper/
H A Dfieldselect.php22 $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 Dfieldstatic.php20 $this->opt['optional'] = true;
54 if (!isset($this->opt['display'])) {
55 $this->opt['display'] = $this->opt['label'];
H A Dfieldsubmit.php23 $this->opt['optional'] = true;
44 if(isset($this->opt['id'])) {
45 $attr['id'] = $this->opt['id'];
H A Dfieldtextarea.php17 $this->opt['class'] .= ' textareafield';
H A Dfieldtextbox.php22 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 Dfieldtime.php22 if(!isset($this->opt['optional'])) {
H A Dfieldusemailtemplate.php24 $this->opt = array_combine(array('cmd', 'template'), $args);
H A Dfielduser.php29 $label = $this->opt['label'];
47 $value = $this->opt['value'];
H A Dfieldusers.php29 $label = $this->opt['label'];
46 $value = $this->opt['value'];
H A Dfieldwiki.php21 $this->opt['optional'] = true;
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/bureaucracy-au/
H A Dsyntax.php207 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 Dfield.php20 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 Dfieldaddpage.php25 $this->opt = array_combine(array('cmd', 'page_tpl', 'page_tgt'), $args);
H A Dfielddate.php22 if(!isset($this->opt['optional'])) {
H A Dfieldfieldset.php23 $this->opt = array('cmd' => array_shift($args));
26 $this->opt['label'] = array_shift($args);
27 $this->opt['display'] = $this->opt['label'];
H A Dfieldfile.php20 $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 Dfieldhidden.php37 … if (!isset($this->opt[$name]) || in_array($name, array('pagename', 'value')) && $this->hidden) {
45 return $this->opt[$name];
H A Dfieldmultiselect.php20 $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 Dfieldnumber.php35 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 Dfieldpassword.php20 if(!isset($this->opt['optional'])) {
25 if(!isset($this->opt['optional'])){
H A Dfieldradio.php22 $this->opt['args'] = array_filter(array_map('trim', explode('|',array_shift($args))));
44 $params = array_merge($this->opt, $params);
H A Dfieldselect.php22 $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 Dfieldstatic.php20 $this->opt['optional'] = true;
54 if (!isset($this->opt['display'])) {
55 $this->opt['display'] = $this->opt['label'];
H A Dfieldsubmit.php23 $this->opt['optional'] = true;
44 if(isset($this->opt['id'])) {
45 $attr['id'] = $this->opt['id'];

12345678910