コード例 #1
0
 /**
  * Prepares the default column configuration for the grid view
  * 
  * @return mixed the default column configuration for the gridview
  */
 protected function createColumnConfig()
 {
     //prepare column config
     return ['happened_at:datetime', AuditTrailHelper::createChangeTypeColumnConfig($this->changeTypeCallback), AuditTrailHelper::createUserIdColumnConfig($this->userIdCallback), AuditTrailHelper::createDataColumnConfig($this->dataTableOptions, $this->dataTableColumnWidths, $this->hiddenAttributes, $this->attributeOutput)];
 }