|
@@ 59-66 (lines=8) @@
|
| 56 |
|
return $this; |
| 57 |
|
} |
| 58 |
|
|
| 59 |
|
public function addHeader($content) { |
| 60 |
|
$header=new HtmlBsDoubleElement("header-".$this->identifier); |
| 61 |
|
$header->setTagName("div"); |
| 62 |
|
$header->setClass("panel-heading"); |
| 63 |
|
$header->setContent($content); |
| 64 |
|
$this->header=$header; |
| 65 |
|
return $header; |
| 66 |
|
} |
| 67 |
|
|
| 68 |
|
public function addHeaderH($content, $niveau="1") { |
| 69 |
|
$headerH=new HtmlBsDoubleElement("header-h-".$this->identifier); |
|
@@ 68-74 (lines=7) @@
|
| 65 |
|
return $header; |
| 66 |
|
} |
| 67 |
|
|
| 68 |
|
public function addHeaderH($content, $niveau="1") { |
| 69 |
|
$headerH=new HtmlBsDoubleElement("header-h-".$this->identifier); |
| 70 |
|
$headerH->setContent($content); |
| 71 |
|
$headerH->setTagName("h".$niveau); |
| 72 |
|
$headerH->setClass("panel-title"); |
| 73 |
|
return $this->addHeader($headerH); |
| 74 |
|
} |
| 75 |
|
|
| 76 |
|
public function addFooter($content) { |
| 77 |
|
$footer=new HtmlBsDoubleElement("footer-".$this->identifier); |
|
@@ 76-83 (lines=8) @@
|
| 73 |
|
return $this->addHeader($headerH); |
| 74 |
|
} |
| 75 |
|
|
| 76 |
|
public function addFooter($content) { |
| 77 |
|
$footer=new HtmlBsDoubleElement("footer-".$this->identifier); |
| 78 |
|
$footer->setTagName("div"); |
| 79 |
|
$footer->setClass("panel-footer"); |
| 80 |
|
$footer->setContent($content); |
| 81 |
|
$this->footer=$footer; |
| 82 |
|
return $this; |
| 83 |
|
} |
| 84 |
|
|
| 85 |
|
/** |
| 86 |
|
* define the Panel style |