for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace UniMan\Components\Breadcrumb;
use Nette\Application\UI\Control;
class BreadcrumbControl extends Control
{
private $driver;
private $database;
private $type;
private $table;
private $item;
public function __construct($driver, $database, $type, $table, $item)
parent::__construct();
$this->driver = $driver;
$this->database = $database;
$this->type = $type;
$this->table = $table;
$this->item = $item;
}
public function render()
$this->template->driver = $this->driver;
$this->template->database = $this->database;
$this->template->type = $this->type;
$this->template->table = $this->table;
$this->template->item = $this->item;
$this->template->setFile(__DIR__ . '/default.latte');
$this->template->render();