repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/src/processes/JsonColumn.php | src/processes/JsonColumn.php | <?php
/**
* This file contains process to define JSON column
*
* @category Core
* @package KoolReport
* @author KoolPHP Inc <support@koolphp.net>
* @copyright 2017-2028 KoolPHP Inc
* @license MIT License https://www.koolreport.com/license#mit-license
* @link https://www.koolphp.net
*/
/* Usage
*... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/src/processes/Transpose2.php | src/processes/Transpose2.php | <?php
/**
* This file contains class to transpose column and row of table
*
* @category Core
* @package KoolReport
* @author KoolPHP Inc <support@koolphp.net>
* @copyright 2017-2028 KoolPHP Inc
* @license MIT License https://www.koolreport.com/license#mit-license
* @link https://www.koolphp.net
*/... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/src/processes/StringCase.php | src/processes/StringCase.php | <?php
/**
* This file contains process to handle uppercase,lowercase for string column.
*
* @category Core
* @package KoolReport
* @author KoolPHP Inc <support@koolphp.net>
* @copyright 2017-2028 KoolPHP Inc
* @license MIT License https://www.koolreport.com/license#mit-license
* @link https://www.k... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/src/processes/Count.php | src/processes/Count.php | <?php
namespace koolreport\processes;
use \koolreport\core\Process;
use \koolreport\core\Utility;
class Count extends Process
{
protected $counters = array();
protected $funcs = array();
/**
* Handle on initiation
*
* @return null
*/
protected function onInit()
{
if($t... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/src/processes/AccumulativeColumn.php | src/processes/AccumulativeColumn.php | <?php
/**
* This file contains process to create accumulative column from a column
*
* @category Core
* @package KoolReport
* @author KoolPHP Inc <support@koolphp.net>
* @copyright 2017-2028 KoolPHP Inc
* @license MIT License https://www.koolreport.com/license#mit-license
* @link https://www.koolph... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/src/processes/InnerJoin.php | src/processes/InnerJoin.php | <?php
/**
* This file contains class to join two data flow on a condition.
*
* @category Core
* @package KoolReport
* @author KoolPHP Inc <support@koolphp.net>
* @copyright 2017-2028 KoolPHP Inc
* @license MIT License https://www.koolreport.com/license#mit-license
* @link https://www.koolphp.net
*... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/src/processes/RowNumColumn.php | src/processes/RowNumColumn.php | <?php
/**
* This file contains process to define JSON column
*
* @category Core
* @package KoolReport
* @author KoolPHP Inc <support@koolphp.net>
* @copyright 2017-2028 KoolPHP Inc
* @license MIT License https://www.koolreport.com/license#mit-license
* @link https://www.koolphp.net
*/
/* Usage
*... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/src/processes/Limit.php | src/processes/Limit.php | <?php
/**
* This file contains process to limit the rows return from datasource
*
* @category Core
* @package KoolReport
* @author KoolPHP Inc <support@koolphp.net>
* @copyright 2017-2028 KoolPHP Inc
* @license MIT License https://www.koolreport.com/license#mit-license
* @link https://www.koolphp.n... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/DbReport.php | tests/cases/DbReport.php | <?php
require_once dirname(__FILE__)."/../../autoload.php";
class DbReport extends \koolreport\KoolReport
{
protected function settings()
{
return array(
"dataSources"=>array(
"automaker"=>array(
"connectionString"=>"mysql:host=localhost;dbname=automaker"... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/datasources/pdodatasource/instatement/Report.view.php | tests/cases/datasources/pdodatasource/instatement/Report.view.php | <?php
use \koolreport\widgets\koolphp\Table;
?>
<html>
<head>
<title>Test PdoDataSource</title>
</head>
<body>
<h1>Test PdoDataSource</h1>
<p>
It should return well with IN operator of SQL,
we try to bind array to the sql statement.
</p>
<?php... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/datasources/pdodatasource/instatement/index.php | tests/cases/datasources/pdodatasource/instatement/index.php | <?php
require_once "../../../../../autoload.php";
require_once "../../../DbReport.php";
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/datasources/pdodatasource/instatement/Report.php | tests/cases/datasources/pdodatasource/instatement/Report.php | <?php
class Report extends DbReport
{
} | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/datasources/pdodatasource/procedure/Report.view.php | tests/cases/datasources/pdodatasource/procedure/Report.view.php | <?php
use \koolreport\widgets\koolphp\Table;
?>
<html>
<head>
<title>Test PdoDataSource</title>
</head>
<body>
<h1>Test PdoDataSource</h1>
<p>
It should return well with IN operator of SQL,
we try to bind array to the sql statement.
</p>
<?php... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/datasources/pdodatasource/procedure/index.php | tests/cases/datasources/pdodatasource/procedure/index.php | <?php
require_once "../../../../../autoload.php";
require_once "../../../DbReport.php";
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/datasources/pdodatasource/procedure/Report.php | tests/cases/datasources/pdodatasource/procedure/Report.php | <?php
class Report extends DbReport
{
function setup()
{
$this->src("automaker")->query("
DROP PROCEDURE IF EXISTS GetEmployees;
CREATE PROCEDURE GetEmployees()
BEGIN
UPDATE offices SET city='San' WHERE officeCode=1;
SELECT * FROM off... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/_sample2/index.php | tests/cases/_sample2/index.php | <?php
require_once "../../../../autoload.php";
use \koolreport\widgets\koolphp\Table;
?>
<html>
<head>
<title>Test Something</title>
</head>
<body>
<h1>Test Something</h1>
<p class="lead">
What needed to test?
How to test?
How to ... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/_sample/Report.view.php | tests/cases/_sample/Report.view.php | <html>
<head>
<title>Test</title>
</head>
<body>
<h1>Test</h1>
</body>
</html> | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/_sample/index.php | tests/cases/_sample/index.php | <?php
require_once "../../../../autoload.php";
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/_sample/Report.php | tests/cases/_sample/Report.php | <?php
class Report extends \koolreport\KoolReport
{
} | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/widgets/koolphp/card/href/Report.view.php | tests/cases/widgets/koolphp/card/href/Report.view.php | <?php
use \koolreport\widgets\koolphp\Card;
?>
<html>
<head>
<title>Test Card</title>
</head>
<body>
<h1>Test Card</h1>
<div class="row">
<div class="col-md-3">
<?php
Card::create(array(
"value"=>1249,
... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/widgets/koolphp/card/href/index.php | tests/cases/widgets/koolphp/card/href/index.php | <?php
require_once "../../../../../../autoload.php";
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/widgets/koolphp/card/href/Report.php | tests/cases/widgets/koolphp/card/href/Report.php | <?php
require_once "../../../../DbReport.php";
class Report extends DbReport
{
use \koolreport\clients\Bootstrap;
} | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/widgets/koolphp/card/simple/Report.view.php | tests/cases/widgets/koolphp/card/simple/Report.view.php | <?php
use \koolreport\widgets\koolphp\Card;
?>
<html>
<head>
<title>Test Card</title>
</head>
<body>
<h1>Test Card</h1>
<div class="row">
<div class="col-md-3">
<?php
Card::create(array(
"value"=>1249,
... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/widgets/koolphp/card/simple/index.php | tests/cases/widgets/koolphp/card/simple/index.php | <?php
require_once "../../../../../../autoload.php";
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/widgets/koolphp/card/simple/Report.php | tests/cases/widgets/koolphp/card/simple/Report.php | <?php
require_once "../../../../DbReport.php";
class Report extends DbReport
{
use \koolreport\clients\Bootstrap;
} | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/widgets/koolphp/table/group_sort/Report.view.php | tests/cases/widgets/koolphp/table/group_sort/Report.view.php | <?php
use \koolreport\widgets\koolphp\Table;
?>
<div class="report-content">
<div class="text-center">
<h1>Table Row Group</h1>
<p class="lead">
This example shows how to setup row grouping with Table widgets
</p>
</div>
<?php
Table::create(array(
"dataSo... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/widgets/koolphp/table/group_sort/index.php | tests/cases/widgets/koolphp/table/group_sort/index.php | <?php
require_once "../../../../../../autoload.php";
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/widgets/koolphp/table/group_sort/Report.php | tests/cases/widgets/koolphp/table/group_sort/Report.php | <?php
use \koolreport\processes\ColumnMeta;
use \koolreport\processes\DateTimeFormat;
use \koolreport\processes\CopyColumn;
use \koolreport\processes\Group;
use \koolreport\processes\Sort;
class Report extends \koolreport\KoolReport
{
use \koolreport\bootstrap3\Theme;
function settings()
{
return ... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/widgets/koolphp/table/group_removeDuplicate/Report.view.php | tests/cases/widgets/koolphp/table/group_removeDuplicate/Report.view.php | <?php
use \koolreport\widgets\koolphp\Table;
?>
<html>
<head>
<title>Test group with removeDuplicate</title>
</head>
<body>
<h1>Test group with removeDuplicate</h1>
<?php
Table::create(array(
"dataSource"=>array(
array("client"=>"aaa","item"=>... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/widgets/koolphp/table/group_removeDuplicate/index.php | tests/cases/widgets/koolphp/table/group_removeDuplicate/index.php | <?php
require_once "../../../../../../autoload.php";
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/widgets/koolphp/table/group_removeDuplicate/Report.php | tests/cases/widgets/koolphp/table/group_removeDuplicate/Report.php | <?php
class Report extends \koolreport\KoolReport
{
use \koolreport\clients\Bootstrap;
} | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/widgets/koolphp/table/table_footer_function/Report.view.php | tests/cases/widgets/koolphp/table/table_footer_function/Report.view.php | <?php
use \koolreport\widgets\koolphp\Table;
?>
<div class="report-content">
<div class="text-center">
<h1>Table Footer Function</h1>
<p class="lead">
This test setting function for footer
</p>
</div>
<h2>Now</h2>
<?php
Table::create(array(
"dataSourc... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/widgets/koolphp/table/table_footer_function/index.php | tests/cases/widgets/koolphp/table/table_footer_function/index.php | <?php
require_once "../../../../../../autoload.php";
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/widgets/koolphp/table/table_footer_function/Report.php | tests/cases/widgets/koolphp/table/table_footer_function/Report.php | <?php
use \koolreport\processes\ColumnMeta;
use \koolreport\processes\DateTimeFormat;
use \koolreport\processes\CopyColumn;
use \koolreport\processes\Group;
use \koolreport\processes\Sort;
class Report extends \koolreport\KoolReport
{
use \koolreport\bootstrap3\Theme;
function settings()
{
return ... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/widgets/google/multiple_charts/Report.view.php | tests/cases/widgets/google/multiple_charts/Report.view.php | <?php
use \koolreport\widgets\google\ColumnChart;
use \koolreport\widgets\google\BarChart;
use \koolreport\widgets\google\Gauge;
use \koolreport\widgets\google\Timeline;
$category_amount = array(
array("category"=>"Books","sale"=>32000,"cost"=>20000,"profit"=>12000),
array("category"... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/widgets/google/multiple_charts/index.php | tests/cases/widgets/google/multiple_charts/index.php | <?php
require_once "../../../../../autoload.php";
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/widgets/google/multiple_charts/Report.php | tests/cases/widgets/google/multiple_charts/Report.php | <?php
class Report extends \koolreport\KoolReport
{
} | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/widgets/google/trendlines/Report.view.php | tests/cases/widgets/google/trendlines/Report.view.php | <?php
use \koolreport\widgets\google\ColumnChart;
use \koolreport\widgets\google\BarChart;
use \koolreport\widgets\google\Gauge;
use \koolreport\widgets\google\Timeline;
?>
<html>
<head>
<title>Test Trendlines</title>
</head>
<body>
<h1>Test trendlines</h1>
<p class="... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/widgets/google/trendlines/index.php | tests/cases/widgets/google/trendlines/index.php | <?php
require_once "../../../../../autoload.php";
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/widgets/google/trendlines/Report.php | tests/cases/widgets/google/trendlines/Report.php | <?php
class Report extends \koolreport\KoolReport
{
} | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/core/existed_datasource/ExistedPdoDataSource.php | tests/cases/core/existed_datasource/ExistedPdoDataSource.php | <?php
class ExistedPdoDataSource extends \koolreport\datasources\PdoDataSource
{
protected function onInit()
{
$this->connection = Utility::get($this->params,"pdo");
}
} | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/core/clientside.ondone/Report.view.php | tests/cases/core/clientside.ondone/Report.view.php | <?php
use \koolreport\widgets\koolphp\Table;
?>
<html>
<head>
<title>Test</title>
</head>
<body>
<h1>Test</h1>
<div id="test"></div>
<?php
Table::create(array(
"name"=>"mytable",
"dataSource"=>array(
array("name"=>"Peter","a... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/core/clientside.ondone/index.php | tests/cases/core/clientside.ondone/index.php | <?php
require_once "../../../../autoload.php";
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/core/clientside.ondone/Report.php | tests/cases/core/clientside.ondone/Report.php | <?php
class Report extends \koolreport\KoolReport
{
} | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/core/xml/index.php | tests/cases/core/xml/index.php | <?php
require_once "../../../../autoload.php";
require_once "Report.php";
header("Content-type: text/xml");
$report = new Report;
echo $report->run()->getXml(); | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/core/xml/Report.php | tests/cases/core/xml/Report.php | <?php
class Report extends \koolreport\KoolReport
{
function settings()
{
return array(
"dataSources"=>array(
"array"=>array(
"class"=>"/koolreport/datasources/ArrayDataSource",
"dataFormat"=>"associate",
"data"=>ar... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/core/request_data_sending/Report.view.php | tests/cases/core/request_data_sending/Report.view.php | <html>
<head>
<title>Test request data sending</title>
</head>
<body>
<h1>Test Request Data Sending</h1>
<p>Test whether data is sent only once to avoid data duplication</p>
<?php
\koolreport\widgets\koolphp\Table::create([
"dataSource"=>$this->dataStore("... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/core/request_data_sending/index.php | tests/cases/core/request_data_sending/index.php | <?php
require_once "../../../../autoload.php";
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/core/request_data_sending/Report.php | tests/cases/core/request_data_sending/Report.php | <?php
require_once "../../DbReport.php";
use \koolreport\processes\Sort;
class Report extends \koolreport\KoolReport
{
use \koolreport\clients\Bootstrap;
public function settings()
{
return array(
"dataSources"=>array(
"data"=>array(
"class"=>'\kool... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/core/pipetree/Report.view.php | tests/cases/core/pipetree/Report.view.php | <?php
use \koolreport\widgets\koolphp\Table;
?>
<html>
<head>
<title>Test pipeTree</title>
</head>
<body>
<h1>Test pipeTree</h1>
<h4>All</h4>
<?php
Table::create(array(
"dataSource"=>$this->store("all")
));
?>
<h4>Group</h4>
... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/core/pipetree/index.php | tests/cases/core/pipetree/index.php | <?php
require_once "../../../../autoload.php";
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/core/pipetree/Report.php | tests/cases/core/pipetree/Report.php | <?php
use \koolreport\processes\Group;
class Report extends \koolreport\KoolReport
{
public function settings()
{
return array(
"dataSources"=>array(
"data"=>array(
"class"=>'\koolreport\datasources\CSVDataSource',
'filePath'=>dirname... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/core/resourcemanager/Report.view.php | tests/cases/core/resourcemanager/Report.view.php | <?php
use \koolreport\widgets\koolphp\Table;
?>
<html>
<head>
<title>Test</title>
</head>
<body>
<h1>Test</h1>
<div id="test"></div>
<?php
Table::create(array(
"name"=>"mytable",
"dataSource"=>array(
array("name"=>"Peter","a... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/core/resourcemanager/index.php | tests/cases/core/resourcemanager/index.php | <?php
require_once "../../../../../../../koolreport/autoload.php";
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/core/resourcemanager/Report.php | tests/cases/core/resourcemanager/Report.php | <?php
class Report extends \koolreport\KoolReport
{
} | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/clients/font-awesome/Report.view.php | tests/cases/clients/font-awesome/Report.view.php | <html>
<head>
<title>Show fontawesome</title>
</head>
<body>
<h1>Show fontawesome</h1>
<i class="fa fa-users"></i>
<i class="fab fa-facebook"></i>
</body>
</html> | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/clients/font-awesome/index.php | tests/cases/clients/font-awesome/index.php | <?php
require_once "../../../../autoload.php";
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/clients/font-awesome/Report.php | tests/cases/clients/font-awesome/Report.php | <?php
class Report extends \koolreport\KoolReport
{
use \koolreport\clients\FontAwesome;
} | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/table/repeated_cols/Report.view.php | tests/cases/table/repeated_cols/Report.view.php | <?php
use \koolreport\widgets\koolphp\Table;
?>
<html>
<head>
<title>Test Repeating Cols</title>
</head>
<body>
<h1>Test Repeated Cols and Json Data</h1>
<?php
Table::create([
"dataSource"=>array(
array("name"=>"Michael","address"=>["country"=>... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/table/repeated_cols/index.php | tests/cases/table/repeated_cols/index.php | <?php
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/table/repeated_cols/Report.php | tests/cases/table/repeated_cols/Report.php | <?php
require_once "../../DbReport.php";
class Report extends DbReport
{
use \koolreport\bootstrap3\Theme;
} | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/table/custom_column/Report.view.php | tests/cases/table/custom_column/Report.view.php | <?php
use \koolreport\widgets\koolphp\Table;
?>
<html>
<head>
<title>Test creating running total</title>
</head>
<body>
<h1>Test Creating running total</h1>
<p>Make the running total of subgroup as well as running total of grand total</p>
<?php
Table::create([
... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/table/custom_column/index.php | tests/cases/table/custom_column/index.php | <?php
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/table/custom_column/Report.php | tests/cases/table/custom_column/Report.php | <?php
require_once "../../DbReport.php";
class Report extends DbReport
{
use \koolreport\bootstrap3\Theme;
} | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/table/renderdata/Report.view.php | tests/cases/table/renderdata/Report.view.php | <?php
use \koolreport\widgets\koolphp\Table;
?>
<html>
<head>
<title>Test Rendering Data At Client</title>
</head>
<body>
<h1>Test Rendering Data At Client</h1>
<?php
Table::create([
"name"=>"myTable",
"dataSource"=>$this->src("automaker")->query("... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/table/renderdata/index.php | tests/cases/table/renderdata/index.php | <?php
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/table/renderdata/Report.php | tests/cases/table/renderdata/Report.php | <?php
require_once "../../DbReport.php";
class Report extends DbReport
{
use \koolreport\bootstrap3\Theme;
}
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/table/client_events/Report.view.php | tests/cases/table/client_events/Report.view.php | <?php
use \koolreport\widgets\koolphp\Table;
$friends = array("Tuan","Dong");
?>
<html>
<head>
<title>Test Client Events</title>
</head>
<body>
<h1>Test Table Client Events</h1>
<p class="lead">Click on the rows, it should print the event opject at console.log</p>
<... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/table/client_events/index.php | tests/cases/table/client_events/index.php | <?php
require_once "../../../../autoload.php";
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/table/client_events/Report.php | tests/cases/table/client_events/Report.php | <?php
require_once "../../DbReport.php";
class Report extends DbReport
{
use \koolreport\bootstrap3\Theme;
} | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/processes/cube/Report.view.php | tests/cases/processes/cube/Report.view.php | <html>
<head>
<title>Test sorting data</title>
</head>
<body>
<h1>Test Sorting data</h1>
<?php
\koolreport\widgets\koolphp\Table::create([
"dataSource"=>$this->dataStore("data")
]);
?>
</body>
</html> | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/processes/cube/index.php | tests/cases/processes/cube/index.php | <?php
require_once "../../../../autoload.php";
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/processes/cube/Report.php | tests/cases/processes/cube/Report.php | <?php
require_once "../../DbReport.php";
use \koolreport\processes\Group;
use \koolreport\cube\processes\Cube;
class Report extends \koolreport\KoolReport
{
use \koolreport\clients\Bootstrap;
protected $data;
public function settings()
{
return array(
"dataSources"=>array(
... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/processes/sort/Report.view.php | tests/cases/processes/sort/Report.view.php | <html>
<head>
<title>Test sorting data</title>
</head>
<body>
<h1>Test Sorting data</h1>
<?php
\koolreport\widgets\koolphp\Table::create([
"dataSource"=>$this->dataStore("data")
]);
?>
</body>
</html> | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/processes/sort/index.php | tests/cases/processes/sort/index.php | <?php
require_once "../../../../autoload.php";
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/processes/sort/Report.php | tests/cases/processes/sort/Report.php | <?php
require_once "../../DbReport.php";
use \koolreport\processes\Sort;
class Report extends \koolreport\KoolReport
{
use \koolreport\clients\Bootstrap;
public function settings()
{
return array(
"dataSources"=>array(
"data"=>array(
"class"=>'\kool... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/processes/group/Report.view.php | tests/cases/processes/group/Report.view.php | <html>
<head>
<title>Test sorting data</title>
</head>
<body>
<h1>Test Sorting data</h1>
<?php
\koolreport\widgets\koolphp\Table::create([
"dataSource"=>$this->dataStore("data")
]);
?>
</body>
</html> | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/processes/group/index.php | tests/cases/processes/group/index.php | <?php
require_once "../../../../autoload.php";
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/processes/group/Report.php | tests/cases/processes/group/Report.php | <?php
require_once "../../DbReport.php";
use \koolreport\processes\Group;
class Report extends \koolreport\KoolReport
{
use \koolreport\clients\Bootstrap;
protected $data;
public function settings()
{
return array(
"dataSources"=>array(
"data"=>array(
... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/processes/join/Report.view.php | tests/cases/processes/join/Report.view.php | <html>
<head>
<title>Test sorting data</title>
</head>
<body>
<h1>Test Sorting data</h1>
<?php
\koolreport\widgets\koolphp\Table::create([
"dataSource"=>$this->dataStore("data")
]);
?>
</body>
</html> | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/processes/join/index.php | tests/cases/processes/join/index.php | <?php
require_once "../../../../autoload.php";
require_once "Report.php";
$report = new Report;
$report->run()->render();
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/processes/join/Report.php | tests/cases/processes/join/Report.php | <?php
require_once "../../DbReport.php";
use \koolreport\processes\Join;
class Report extends \koolreport\KoolReport
{
use \koolreport\clients\Bootstrap;
protected $data;
public function settings()
{
return array(
"dataSources"=>array(
"source1"=>array(
... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/cases/processes/jsoncolumn/index.php | tests/cases/processes/jsoncolumn/index.php | <?php
require_once "../../../../autoload.php";
use \koolreport\processes\JsonColumn;
$src = new \koolreport\datasources\ArrayDataSource([
"data"=>[
["key"=>1,"value"=>'{"name":"Peter","age":35}'],
["key"=>1,"value"=>'{"name":"David","age":32}'],
]
]);
$store = $src->pipe(new JsonColumn(["val... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/unit/koolreport/KoolReportTest.php | tests/unit/koolreport/KoolReportTest.php | <?php namespace koolreport;
class KoolReportTest extends \Codeception\Test\Unit
{
/**
* @var \UnitTester
*/
protected $tester;
protected function _before()
{
}
protected function _after()
{
}
// tests
public function testGetArray()
{
$data = array(
... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/unit/koolreport/datasources/PdoDataSourceTest.php | tests/unit/koolreport/datasources/PdoDataSourceTest.php | <?php
namespace koolreport\datasources;
class PdoDataSourceTest extends \Codeception\Test\Unit
{
/**
* @var \UnitTester
*/
protected $tester;
protected $settings = array(
"connectionString"=>"mysql:host=localhost;dbname=automaker",
"username"=>"root",
"password"=>"",
... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/unit/koolreport/widgets/koolphp/TableTest.php | tests/unit/koolreport/widgets/koolphp/TableTest.php | <?php
namespace koolreport\widgets\koolphp;
class TableTest extends \Codeception\Test\Unit
{
/**
* @var \UnitTester
*/
protected $tester;
protected function _before()
{
}
protected function _after()
{
}
// tests
public function testGrouping()
{
$tabl... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/unit/koolreport/core/ResourceManagerTest.php | tests/unit/koolreport/core/ResourceManagerTest.php | <?php
namespace koolreport\core;
class ResourceManagerTest extends \Codeception\Test\Unit
{
/**
* @var \UnitTester
*/
protected $tester;
// tests
public function testSomeFeature()
{
}
} | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/unit/koolreport/core/UtilityTest.php | tests/unit/koolreport/core/UtilityTest.php | <?php
namespace koolreport\core;
class UtilityTest extends \Codeception\Test\Unit
{
/**
* @var \UnitTester
*/
protected $tester;
// tests
public function testStrReplaceFirst()
{
$str = "hello hello world!";
$this->assertEquals(Utility::strReplaceFirst("hello","hi",$s... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/unit/koolreport/core/PipeTest.php | tests/unit/koolreport/core/PipeTest.php | <?php
namespace koolreport\core;
use \koolreport\processes\Limit;
use \koolreport\processes\Group;
use \koolreport\processes\Sort;
use \koolreport\core\Utility;
class PipeTest extends \Codeception\Test\Unit
{
/**
* @var \UnitTester
*/
protected $tester;
// tests
public function testPipe... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/unit/koolreport/core/DataStoreTest.php | tests/unit/koolreport/core/DataStoreTest.php | <?php
namespace koolreport\core;
class DataStoreTest extends \Codeception\Test\Unit
{
/**
* @var \UnitTester
*/
protected $tester;
public function testInitDataStore()
{
$store = new DataStore;
$this->assertEquals($store->data(),array(),"Data should be empty array");
$... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/unit/koolreport/core/WidgetTest.php | tests/unit/koolreport/core/WidgetTest.php | <?php
namespace koolreport\core;
class WidgetTest extends \Codeception\Test\Unit
{
/**
* @var \UnitTester
*/
protected $tester;
// tests
public function testAttachResourceToEnd()
{
$widget = new Widget;
$des = array("a",array("b"));
$att = array("c");
... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/unit/koolreport/processes/JsonColumnTest.php | tests/unit/koolreport/processes/JsonColumnTest.php | <?php namespace koolreport\processes;
class JsonColumnTest extends \Codeception\Test\Unit
{
/**
* @var \UnitTester
*/
protected $tester;
protected function _before()
{
}
protected function _after()
{
}
// tests
public function testConvertToArray()
{
... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/unit/koolreport/processes/JsonSpreadTest.php | tests/unit/koolreport/processes/JsonSpreadTest.php | <?php namespace koolreport\processes;
class JsonSpreadTest extends \Codeception\Test\Unit
{
/**
* @var \UnitTester
*/
protected $tester;
protected function _before()
{
}
protected function _after()
{
}
// tests
public function testEnterColumnName()
{
... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/unit/koolreport/processes/GroupTest.php | tests/unit/koolreport/processes/GroupTest.php | <?php
namespace koolreport\processes;
class GroupTest extends \Codeception\Test\Unit
{
/**
* @var \UnitTester
*/
protected $tester;
// tests
public function testNormal()
{
$source = new \koolreport\datasources\ArrayDataSource(array(
"data"=>array(
... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/unit/koolreport/processes/CalculatedColumnTest.php | tests/unit/koolreport/processes/CalculatedColumnTest.php | <?php namespace koolreport\processes;
class CalculatedColumnTest extends \Codeception\Test\Unit
{
/**
* @var \UnitTester
*/
protected $tester;
// tests
public function testNullToZero()
{
$source = new \koolreport\datasources\ArrayDataSource;
$source->load(
arr... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/_support/AcceptanceTester.php | tests/_support/AcceptanceTester.php | <?php
/**
* Inherited Methods
* @method void wantToTest($text)
* @method void wantTo($text)
* @method void execute($callable)
* @method void expectTo($prediction)
* @method void expect($prediction)
* @method void amGoingTo($argumentation)
* @method void am($role)
* @method void lookForwardTo($achieveValue)
... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/_support/UnitTester.php | tests/_support/UnitTester.php | <?php
/**
* Inherited Methods
* @method void wantToTest($text)
* @method void wantTo($text)
* @method void execute($callable)
* @method void expectTo($prediction)
* @method void expect($prediction)
* @method void amGoingTo($argumentation)
* @method void am($role)
* @method void lookForwardTo($achieveValue)
... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/_support/FunctionalTester.php | tests/_support/FunctionalTester.php | <?php
/**
* Inherited Methods
* @method void wantToTest($text)
* @method void wantTo($text)
* @method void execute($callable)
* @method void expectTo($prediction)
* @method void expect($prediction)
* @method void amGoingTo($argumentation)
* @method void am($role)
* @method void lookForwardTo($achieveValue)
... | php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/_support/Helper/Functional.php | tests/_support/Helper/Functional.php | <?php
namespace Helper;
// here you can define custom actions
// all public methods declared in helper class will be available in $I
class Functional extends \Codeception\Module
{
}
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
koolreport/core | https://github.com/koolreport/core/blob/48c94289ff456a2ca9dfff770f7b3738b2e6f844/tests/_support/Helper/Unit.php | tests/_support/Helper/Unit.php | <?php
namespace Helper;
// here you can define custom actions
// all public methods declared in helper class will be available in $I
class Unit extends \Codeception\Module
{
}
| php | MIT | 48c94289ff456a2ca9dfff770f7b3738b2e6f844 | 2026-01-05T03:37:54.107286Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.