We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a9bcff commit 4c862fdCopy full SHA for 4c862fd
Ajax/semantic/html/collections/HtmlBreadcrumb.php
@@ -31,7 +31,7 @@ class HtmlBreadcrumb extends HtmlSemNavElement {
31
*
32
* @var boolean if set to true, the path of the elements is absolute
33
*/
34
- protected $absolutePaths=true;
+ protected $absolutePaths=false;
35
36
/**
37
@@ -212,4 +212,13 @@ public function asLinks() {
212
public function asTexts() {
213
$this->contentAs("div");
214
}
215
+
216
+ public function setAbsolutePaths($absolutePaths) {
217
+ $this->absolutePaths=$absolutePaths;
218
+ for($i=0;$i<\sizeof($this->content);$i++){
219
+ $this->content[$i]->setProperty($this->attr, $this->getHref($i));
220
+ }
221
+ return $this;
222
223
224
0 commit comments