3 namespace Utility\Fixture;
5 class RepeaterTemplate extends \Fixture\Service\Fixture
7 static public function build()
9 $tempatesDir = __DIR__ . '/../../../../../data/templates/';
11 parent::addStack('\Utility\Entity\RepeaterTemplate',
13 'Template.AuctionListRepeater' => array(
14 'groupField' => 'make_name',
15 'groupRepeater' => file_get_contents($tempatesDir . 'auction-list-repeater-group.html'),
16 'rowRepeaterOdd' => file_get_contents($tempatesDir . 'auction-list-repeater-row-odd.html'),
17 'rowRepeaterEven' => file_get_contents($tempatesDir . 'auction-list-repeater-row-even.html')