/** * Add equipment */ protected function addEquipment() { $id = $this->Context->activity()->shoeID(); if ($id) { $Shoe = new Shoe($id); if (!$Shoe->isDefaultId()) { $RunningShoe = new BoxedValue($Shoe->getSearchLink(), '', __('Running shoe')); $RunningShoe->defineAsFloatingBlock('w100 flexible-height'); $this->BoxedValues[] = $RunningShoe; } } }