2022-03-08 15:55:41 +01:00
|
|
|
<?php namespace ProcessWire;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* class Breadcrumb
|
|
|
|
*
|
|
|
|
* Holds a single breadcrumb item with URL and title
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
class Breadcrumb extends WireData {
|
|
|
|
public function __construct($url = '', $title = '') {
|
|
|
|
$this->set('url', $url);
|
|
|
|
$this->set('title', $title);
|
|
|
|
$this->set('titleMarkup', '');
|
2024-04-04 14:37:20 +02:00
|
|
|
parent::__construct();
|
2022-03-08 15:55:41 +01:00
|
|
|
}
|
2024-04-04 14:37:20 +02:00
|
|
|
}
|