32 $this->_name = trim($name);
57 if(preg_match(
"/\[.*\]/", $name)){
58 $name = preg_replace(
"/\[.*\]/",
'',$name);
59 if(isset(self::$elementsIds[$name]))
60 self::$elementsIds[$name]++;
62 self::$elementsIds[$name] = 1;
64 $name .=
'-'.self::$elementsIds[$name];
82 $this->_class .=
" $class";
98 $this->_caption = trim($caption);
116 $this->_description = $desc;
134 $this->_extra = $extra;
148 $this->_formname = $name;
159 abstract function render();