Skip to content

This plugin provides a way to create Adianti BreadCrumbs with links, manual adding items or parsing XML file.

License

Notifications You must be signed in to change notification settings

lopescte/adianti-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TBreadCrumbWithLink

Latest Stable Version Total Downloads PHP Version Require License

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.

About

This plugin provides a way to create Adianti BreadCrumbs with links, manual adding items or parsing XML file.

Resources

License

Stars

Watchers

Forks

Packages

No packages published