PHP code example of clear01 / bootstrap-nette-widget-control
1. Go to this page and download the library: Download clear01/bootstrap-nette-widget-control library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
clear01 / bootstrap-nette-widget-control example snippets
class YourPresenter {
/**
* @var \Clear01\Widgets\Nette\UI\TwitterBootstrap\IBootstrapWidgetControlFactory
* @inject
*/
public $bootstrapWidgetControlFactory;
protected function createComponentWidgetControl() {
return $this->bootstrapWidgetControlFactory->create();
}
}