lopescte / adianti-plugins
This plugin provides a way to create Adianti BreadCrumbs with links, manual adding items or parsing XML file.
v1.1.2
2022-07-07 04:53 UTC
Requires
- php: ^5.6 || ^7.0 || ^8.0
README
This plugin provides a way to create BreadCrumbs with links, manual adding items or parsing XML file.
Easy Installation
Install with composer
To install with Composer, simply require the latest version of this package.
composer require lopescte/adianti-plugins
Make sure that the autoload file from Composer is loaded.
// somewhere early in your project's loading, require the Composer autoloader // see: http://getcomposer.org/doc/00-intro.md require 'vendor/autoload.php';
Usage
Easy to use in your php files or classes, as below:
use TBreadCrumbWithLink\TBreadCrumbWithLink;; $breadcrumb = new TBreadCrumbWithLink; $breadcrumb->addItem('You are here:',NULL,TRUE); $breadcrumb->addItem('Home', 'MyHomeClassName',FALSE); $breadcrumb->renderFromXML('MyMenu.xml', __CLASS__);
Author
License
The MIT License (MIT). Please see License File for more information.