PHP code example of koolreport / twig
1. Go to this page and download the library: Download koolreport/twig 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/ */
koolreport / twig example snippets
Table::create(array(
...
"columns"=>array(
"id"=>array(
"formatValue"=>function($value)
{
return "<a href='$value'>View</a>";
}
)
)
))