32 public function setLabel($label, $before=
true) {
34 $this->
wrap(
"<label for='".$this->identifier.
"'>".$label.
"</label>",
"");
36 $this->
wrap(
"",
"<label for='".$this->identifier.
"'> ".$label.
"</label>");
49 $this->_bsComponent=$js->
bootstrap()->generic(
"#".$this->identifier);
55 return $this->
addEvent(
"change", $jsCode);
59 return $this->
addEvent(
"keypress", $jsCode);
bootstrap(Bootstrap $bootstrap=NULL)
getter or setter of the Twitter Bootstrap variable
addEvent($event, $jsCode, $stopPropagation=false, $preventDefault=false)
addEventsOnRun(JsUtils $js=NULL)
setProperty($name, $value)