Source of file SeoReport.php
Size: 0,799 Bytes - Last Modified: 2021-12-23T10:11:47+00:00
/var/www/docs.ssmods.com/process/src/src/SeoReport.php
12345678910111213141516171819202122232425262728293031323334353637 | <?php namespace Restruct\SilverStripe\LiveSeo { use SilverStripe\Reports\Report; use Page; class SeoReport extends Report { public function title() { return 'SEO'; } public function sourceRecords($params = null) { return Page::get()->sort('SEOPageScore'); } public function columns() { $fields = [ "Title" => [ "title" => "Title", // todo: use NestedTitle(2) "link" => true, ], 'MetaTitle' => 'Meta Title', 'SEOPageSubject' => 'SEO Page Subject', 'SEOPageScore' => 'SEO Score', ]; return $fields; } } } |