mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Docblock
This commit is contained in:
parent
0946332915
commit
6c2d5311d3
@ -4,6 +4,7 @@ namespace SilverStripe\CMS\Reports;
|
||||
|
||||
use SilverStripe\CMS\Model\RedirectorPage;
|
||||
use SilverStripe\CMS\Model\SiteTree;
|
||||
use SilverStripe\ORM\DataList;
|
||||
use SilverStripe\Reports\Report;
|
||||
|
||||
class EmptyPagesReport extends Report
|
||||
@ -24,6 +25,12 @@ class EmptyPagesReport extends Report
|
||||
return 100;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the source records
|
||||
*
|
||||
* @param array $params
|
||||
* @return DataList
|
||||
*/
|
||||
public function sourceRecords($params = null)
|
||||
{
|
||||
return SiteTree::get()
|
||||
|
Loading…
Reference in New Issue
Block a user