OpenXE/classes/Widgets/DataTable/Feature/ColumnAggregateFeature.php

43 lines
962 B
PHP
Raw Normal View History

2021-05-21 08:49:41 +02:00
<?php
namespace Xentral\Widgets\DataTable\Feature;
use Xentral\Widgets\DataTable\Options\DataTableOptions;
use Xentral\Widgets\DataTable\DataTableInterface;
use Xentral\Widgets\DataTable\Exception\FeatureNotImplementedException;
/**
* @todo
*
* @example https://datatables.net/reference/api/columns().footer()#Example
*/
final class ColumnAggregateFeature implements DataTableFeatureInterface
{
/**
* @throws FeatureNotImplementedException
*/
public function __construct()
{
throw new FeatureNotImplementedException('Feature is not implemented yet.');
}
/**
* @param DataTableInterface $table
*
* @return void
*/
public function modifyTable(DataTableInterface $table)
{
$this->modifyOptions($table->getOptions());
}
/**
* @param DataTableOptions $options
*
* @return void
*/
private function modifyOptions(DataTableOptions $options)
{
}
}