mirror of
https://github.com/xfarrow/phpxpress.git
synced 2025-06-05 21:59:21 +02:00
code quality
This commit is contained in:
21
examples/breadcrumb.php
Normal file
21
examples/breadcrumb.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="../bootstrap-5.1.3-dist/css/bootstrap.min.css">
|
||||
<title>BreadCrumb example</title>
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
include "../phpxpress/Breadcrumb.php";
|
||||
|
||||
$links["Github"] = "https://www.github.com";
|
||||
$links["xfarrow"] = "https://www.github.com/xfarrow";
|
||||
$links["PhpXpress"] = "https://www.github.com/xfarrow/phoxpress";
|
||||
|
||||
$breadcrumb = new PhpXpress\BreadCrumb;
|
||||
|
||||
$breadcrumb->setDataSource($links);
|
||||
$breadcrumb->draw();
|
||||
|
||||
?>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user