Git Repository Public Repository

namibia

URLs

Copy to Clipboard
 
df0489e1eeeeab5a9bd44e1d84fce49924fe1bac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

namespace Utility\Fixture;

class RepeaterTemplate  extends \Fixture\Service\Fixture
{
	static public function build()
	{
		$tempatesDir = __DIR__ . '/../../../../../data/templates/';

		parent::addStack('\Utility\Entity\RepeaterTemplate',
				array(
					'Template.AuctionListRepeater' => array(
							'groupField'		=> 'make_name',
							'groupRepeater'		=> file_get_contents($tempatesDir . 'auction-list-repeater-group.html'),
							'rowRepeaterOdd'	=> file_get_contents($tempatesDir . 'auction-list-repeater-row-odd.html'),
							'rowRepeaterEven'	=> file_get_contents($tempatesDir . 'auction-list-repeater-row-even.html')
					)
				)
		);
	}
}

Commits for namibiamodule/Utility/src/Utility/Fixture/RepeaterTemplate.php

Diff revisions: vs.
Revision Author Commited Message
df0489 ... Mark Fri 14 Oct, 2016 10:01:00 +0000

initial commit