You are here

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

Parameters

array $data: Array keyed with wildcard keys.

1 call to crumbs_Container_WildcardData::__construct()
crumbs_Container_WeightMap::__construct in lib/Container/WeightMap.php
1 method overrides crumbs_Container_WildcardData::__construct()
crumbs_Container_WeightMap::__construct in lib/Container/WeightMap.php

File

lib/Container/WildcardData.php, line 19

Class

crumbs_Container_WildcardData

Code

function __construct(array $data = array()) {
  $this->data = $data;
  $this->fallback = isset($this->data['*']) ? $this->data['*'] : NULL;
}