You are here

function crumbs_CurrentPageInfo::__construct in Crumbs, the Breadcrumbs suite 7.2

Parameters

crumbs_TrailCache $trails:

crumbs_BreadcrumbBuilder $breadcrumbBuilder:

crumbs_Router $router:

File

lib/CurrentPageInfo.php, line 56

Class

crumbs_CurrentPageInfo
Creates various data related to the current page.

Code

function __construct($trails, $breadcrumbBuilder, $router) {
  $this->trails = $trails;
  $this->breadcrumbBuilder = $breadcrumbBuilder;
  $this->router = $router;
}