public function __construct($template, Model $product) { parent::__construct($template); $this->model = $product; }
public function __construct($template = null) { $template = $template ? $template : __DIR__ . "/../templates/pagination.tpl"; parent::__construct($template); }