Ajax/bootstrap/html/HtmlModal.php
public function addButton($value="Okay", $style="btn-primary") {
		$btn=new HtmlButton($this->identifier."-".$value);
		$btn->setStyle($style);
		$btn->setValue($value);
		$this->buttons []=$btn;
		return $btn;
	}
public function addButton($value="Okay", $style="btn-primary") {
		$btn=new HtmlButton($this->identifier."-".$value);
		$btn->setStyle($style);
		$btn->setValue($value);
		$this->buttons []=$btn;
		return $btn;
	}
public function addButton ( $ value = "Okay" , $ style = "btn-primary" ) { $ btn = new HtmlButton ( $ this -> identifier . "-" . $ value ) ; $ btn -> setStyle ( $ style ) ; $ btn -> setValue ( $ value ) ; $ this -> buttons [ ] = $ btn ; return $ btn ; }
Add a button
@param string $value the button caption
@param string $style one of "btn-default","btn-primary","btn-success","btn-info","btn-warning","btn-danger"
@return HtmlButton
Add a button