Lines Matching defs:params
39 public $params = array();
58 * @param mixed $params Parameters for the HTML form element; Using the deprecated
66 public function __construct($params, $action = false, $method = false, $enctype = false)
68 if (!is_array($params)) {
69 $this->params = array('id' => $params);
70 if ($action !== false) $this->params['action'] = $action;
71 if ($method !== false) $this->params['method'] = strtolower($method);
72 if ($enctype !== false) $this->params['enctype'] = $enctype;
74 $this->params = $params;
77 if (!isset($this->params['method'])) {
78 $this->params['method'] = 'post';
80 $this->params['method'] = strtolower($this->params['method']);
83 if (!isset($this->params['action'])) {
84 $this->params['action'] = '';
281 $this->params['accept-charset'] = $lang['encoding'];
282 $form .= '<form ' . buildAttributes($this->params, false) . '><div class="no">' . DOKU_LF;