13 if (!$this->label && !is_bool($this->label))
14 $this->label = ucfirst($this->name);
15 if (!is_object($this->cfg->value))
17 $this->
id = str_replace(
18 array(
'[]',
'[',
']'),
28 $ret = empty($this->cfg->value);
29 if (!$ret && $this->cfg->errorFct && is_callable($this->cfg->errorFct))
30 call_user_func($this->cfg->errorFct);
35 return $this->
isValid()? array() : array($this->cfg->error);
38 public function addRule($type, $prm=null) {}
static htmlOut($val, $key=false)