Source of file FakeTest.php
Size: 0,635 Bytes - Last Modified: 2021-12-23T10:33:55+00:00
/var/www/docs.ssmods.com/process/src/tests/ReportTest/FakeTest.php
123456789101112131415161718192021222324252627282930313233343536 | <?php namespace SilverStripe\Reports\Tests\ReportTest; use SilverStripe\Dev\TestOnly; use SilverStripe\ORM\ArrayList; use SilverStripe\Reports\Report; class FakeTest extends Report implements TestOnly { public function title() { return 'Report title'; } public function columns() { return array( "Title" => array( "title" => "Page Title", "link" => true, ) ); } public function sourceRecords($params, $sort, $limit) { return new ArrayList(); } public function sort() { return 100; } } |