silverstripe-framework/tests/php/Forms/GridField/GridFieldTest/HTMLFragments.php

22 lines
409 B
PHP
Raw Normal View History

2016-10-14 03:30:05 +02:00
<?php
namespace SilverStripe\Forms\Tests\GridField\GridFieldTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\Forms\GridField\GridField_HTMLProvider;
class HTMLFragments implements GridField_HTMLProvider, TestOnly
{
protected $fragments;
public function __construct($fragments)
{
$this->fragments = $fragments;
}
public function getHTMLFragments($gridField)
{
return $this->fragments;
}
}