PHP code example of dotblue / nette-control-rendering
1. Go to this page and download the library: Download dotblue/nette-control-rendering 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/ */
dotblue / nette-control-rendering example snippets
public function render()
{
...
}
public function renderSmall()
{
...
}
use DotBlue\NetteControl\Renderer;
protected function createComponentFoo()
{
return new Renderer(new Foo, 'small');
}