Source of file GridFieldBasicContentReport.php
Size: 0,694 Bytes - Last Modified: 2021-12-23T10:34:31+00:00
/var/www/docs.ssmods.com/process/src/src/Form/GridFieldBasicContentReport.php
1234567891011121314151617181920212223242526272829 | <?php namespace SilverStripe\SiteWideContentReport\Form; use SilverStripe\Forms\GridField\GridField; use SilverStripe\ORM\DataObject; /** * Class GridFieldBasicContentReport * @package SilverStripe\SiteWideContentReport\Form */ class GridFieldBasicContentReport extends GridField { /** * @param int $total * @param int $index * @param DataObject $record * * @return array */ protected function getRowAttributes($total, $index, $record) { $attributes = parent::getRowAttributes($total, $index, $record); $this->extend('updateRowAttributes', $total, $index, $record, $attributes); return $attributes; } } |