|
@@ 61-67 (lines=7) @@
|
| 58 |
|
return $this->addElementInContent("content", $image); |
| 59 |
|
} |
| 60 |
|
|
| 61 |
|
public function addReveal($visibleContent, $hiddenContent=NULL, $type=RevealType::FADE, $attributeType=NULL) { |
| 62 |
|
$reveal=$visibleContent; |
| 63 |
|
if (!$visibleContent instanceof HtmlReveal) { |
| 64 |
|
$reveal=new HtmlReveal("reveral-" . $this->identifier, $visibleContent, $hiddenContent, $type, $attributeType); |
| 65 |
|
} |
| 66 |
|
return $this->addElementInContent("content", $reveal); |
| 67 |
|
} |
| 68 |
|
|
| 69 |
|
public function addRevealImage($visibleContent, $hiddenContent=NULL, $type=RevealType::FADE, $attributeType=NULL) { |
| 70 |
|
$reveal=$visibleContent; |
|
@@ 69-75 (lines=7) @@
|
| 66 |
|
return $this->addElementInContent("content", $reveal); |
| 67 |
|
} |
| 68 |
|
|
| 69 |
|
public function addRevealImage($visibleContent, $hiddenContent=NULL, $type=RevealType::FADE, $attributeType=NULL) { |
| 70 |
|
$reveal=$visibleContent; |
| 71 |
|
if (!$visibleContent instanceof HtmlReveal) { |
| 72 |
|
return $this->addReveal(new HtmlImage("", $visibleContent), new HtmlImage("", $hiddenContent), $type, $attributeType); |
| 73 |
|
} |
| 74 |
|
return $this->addElementInContent("content", $reveal); |
| 75 |
|
} |
| 76 |
|
|
| 77 |
|
public function addExtraContent($content=array()) { |
| 78 |
|
return $this->addElementInContent("extra-content", $this->createContent($content, "extra content")); |