28 $this->content=$value;
29 if (isset($cssStyle)) {
32 if (isset($onClick)) {
43 $this->content=$value;
99 $this->_bsComponent=$js->
bootstrap()->generic(
"#".$this->identifier);
100 if (array_key_exists(
"data-toggle", $this->properties)) {
101 $this->_bsComponent->addCode(
"$.fn.toggled=function(){return this.hasClass('active');};");
114 $array=parent::fromArray($array);
115 foreach ( $array as $key => $value ) {
addEventsOnRun(JsUtils $js=NULL)
setProperty($name, $value)
onClick($jsCode, $stopPropagation=false, $preventDefault=true)
bootstrap(Bootstrap $bootstrap=NULL)
getter or setter of the Twitter Bootstrap variable
static Styles($prefix="btn")
addToPropertyUnique($name, $value, $typeCtrl)
static sizes($prefix="btn")
static getStyle($cssStyle, $prefix)
return a valid style avaible values : "default","primary","success","info","warning","danger"
addToPropertyCtrl($name, $value, $typeCtrl)