artabro/wire/core/Breadcrumb.php

17 lines
329 B
PHP
Raw Normal View History

2024-08-27 11:35:37 +02: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', '');
parent::__construct();
}
}