praiadeseselle/wire/core/Breadcrumb.php

15 lines
303 B
PHP
Raw Permalink Normal View History

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', '');
}
}