mirror of
https://github.com/processwire/processwire.git
synced 2025-08-11 17:24:46 +02:00
Initial commit to new repo (carried over from: https://github.com/ryancramerdesign/ProcessWire/tree/devns)
This commit is contained in:
15
wire/core/Breadcrumb.php
Normal file
15
wire/core/Breadcrumb.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?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', '');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user