|
@@ -62,6 +62,11 @@ class LoadElementData extends AbstractFixture implements OrderedFixtureInterfac
|
62
|
62
|
$this->entity_manager->persist($element);
|
63
|
63
|
}
|
64
|
64
|
|
|
65
|
+ protected function dateD($ecal)
|
|
66
|
+ {
|
|
67
|
+ return date('Y-m-d H:i:s', time() - 60 * 60 *24 * $ecal);
|
|
68
|
+ }
|
|
69
|
+
|
65
|
70
|
public function load($entity_manager)
|
66
|
71
|
{
|
67
|
72
|
$this->entity_manager = $entity_manager;
|
|
@@ -84,61 +89,61 @@ class LoadElementData extends AbstractFixture implements OrderedFixtureInterfac
|
84
|
89
|
$this->createElement('youtube_heretik_1', 'Heretik System Popof - Resistance',
|
85
|
90
|
'http://www.youtube.com/watch?v=tq4DjQK7nsM',
|
86
|
91
|
$this->getArrayOfTag(array('hardtek')),
|
87
|
|
- 'youtube.com', $bux, null, '2011-12-10 17:35:07');
|
|
92
|
+ 'youtube.com', $bux, null, $this->dateD(200));
|
88
|
93
|
|
89
|
94
|
$this->createElement('youtube_dtc_passdrop', 'dtc che passdrop',
|
90
|
95
|
'http://www.youtube.com/watch?v=2A4buFCp7qM',
|
91
|
96
|
$this->getArrayOfTag(array('hardtek')),
|
92
|
|
- 'youtube.com', $bux, null, '2011-12-10 18:35:07');
|
|
97
|
+ 'youtube.com', $bux, null, $this->dateD(199));
|
93
|
98
|
|
94
|
99
|
$this->createElement('youtube_antroppod_1', 'Antropod - Polakatek',
|
95
|
100
|
'http://www.youtube.com/watch?v=VvpF3lCh1hk&NR=1',
|
96
|
101
|
$this->getArrayOfTag(array('hardtek')),
|
97
|
|
- 'youtube.com', $bux, null, '2011-12-10 19:45:07');
|
|
102
|
+ 'youtube.com', $bux, null, $this->dateD(198));
|
98
|
103
|
|
99
|
104
|
$this->createElement('youtube_koinkoin_1', 'koinkOin - H5N1',
|
100
|
105
|
'http://www.son2teuf.org/Voir-details/Sons/Lives/Hardtek-_-Tribe/koinkOin-_-H5N1',
|
101
|
106
|
$this->getArrayOfTag(array('hardtek', 'electro')),
|
102
|
|
- 'son2teuf.org', $bux, null, '2011-12-10 21:35:07');
|
|
107
|
+ 'son2teuf.org', $bux, null, $this->dateD(197));
|
103
|
108
|
|
104
|
109
|
|
105
|
110
|
$this->createElement('youtube_djfab_1', 'DJ FAB',
|
106
|
111
|
'http://www.jamendo.com/fr/album/42567',
|
107
|
112
|
$this->getArrayOfTag(array('hardtek')),
|
108
|
|
- 'jamendo.com', $jean, null, '2011-11-11 17:35:07');
|
|
113
|
+ 'jamendo.com', $jean, null, $this->dateD(196));
|
109
|
114
|
|
110
|
115
|
$this->createElement('youtube_djantoine_1', 'dj antoine',
|
111
|
116
|
'http://www.jamendo.com/fr/album/75206',
|
112
|
117
|
$this->getArrayOfTag(array('hardtek', 'tribe')),
|
113
|
|
- 'jamendo.com', $jean, null, '2011-11-11 19:35:07');
|
|
118
|
+ 'jamendo.com', $jean, null, $this->dateD(195));
|
114
|
119
|
|
115
|
120
|
$this->createElement('youtube_acroyek_1', 'Acrotek Hardtek G01',
|
116
|
121
|
'http://www.jamendo.com/fr/album/3409',
|
117
|
122
|
$this->getArrayOfTag(array('hardtek')),
|
118
|
|
- 'jamendo.com', $jean, null, '2011-12-11 14:35:07');
|
|
123
|
+ 'jamendo.com', $jean, null, $this->dateD(194));
|
119
|
124
|
|
120
|
125
|
|
121
|
126
|
$this->createElement('jamendo_caio_1', 'All Is Full Of Pain',
|
122
|
127
|
'http://soundcloud.com/keytek/all-is-full-of-pain',
|
123
|
128
|
$this->getArrayOfTag(array('tribe', 'hardtek')),
|
124
|
|
- 'soundcloud.com', $paul, null, '2011-12-02 01:35:07');
|
|
129
|
+ 'soundcloud.com', $paul, null, $this->dateD(193));
|
125
|
130
|
|
126
|
131
|
$this->createElement('jamendo_reverb_1', 'RE-FUCK (ReVeRB_FBC) mix.',
|
127
|
132
|
'http://soundcloud.com/reverb-2/re-fuck-reverb_fbc-mix',
|
128
|
133
|
$this->getArrayOfTag(array('tribe')),
|
129
|
|
- 'soundcloud.com', $paul, null, '2011-12-04 14:35:07');
|
|
134
|
+ 'soundcloud.com', $paul, null, $this->dateD(192));
|
130
|
135
|
|
131
|
136
|
$this->createElement('jamendo_cardio_1', 'CardioT3K - Juggernaut Trap',
|
132
|
137
|
'http://soundcloud.com/cardiot3k/cardiot3k-juggernaut-trap',
|
133
|
138
|
$this->getArrayOfTag(array('tribe')),
|
134
|
|
- 'soundcloud.com', $paul, null, '2011-12-12 13:35:07');
|
|
139
|
+ 'soundcloud.com', $paul, null, $this->dateD(191));
|
135
|
140
|
|
136
|
141
|
$this->createElement('dudeldrum', 'DUDELDRUM',
|
137
|
142
|
'http://www.jamendo.com/fr/album/89109',
|
138
|
143
|
$this->getArrayOfTag(array('medieval')),
|
139
|
144
|
'jamendo.com', $joelle,
|
140
|
145
|
$this->entity_manager->merge($this->getReference('group_dudeldrum'))
|
141
|
|
- , '2011-12-16 18:11:07'
|
|
146
|
+ , $this->dateD(190)
|
142
|
147
|
);
|
143
|
148
|
|
144
|
149
|
$this->createElement('infected_psycho', 'Infected Mushroom - Psycho',
|
|
@@ -146,7 +151,7 @@ class LoadElementData extends AbstractFixture implements OrderedFixtureInterfac
|
146
|
151
|
$this->getArrayOfTag(array('psytrance')),
|
147
|
152
|
'youtube.com', $paul,
|
148
|
153
|
$this->entity_manager->merge($this->getReference('group_fan_de_psytrance'))
|
149
|
|
- , '2011-12-10 16:11:17'
|
|
154
|
+ , $this->dateD(189)
|
150
|
155
|
);
|
151
|
156
|
|
152
|
157
|
$this->createElement('infected_muse', 'Infected mushroom - Muse Breaks',
|
|
@@ -154,13 +159,13 @@ class LoadElementData extends AbstractFixture implements OrderedFixtureInterfac
|
154
|
159
|
$this->getArrayOfTag(array('psytrance')),
|
155
|
160
|
'youtube.com', $bob,
|
156
|
161
|
$this->entity_manager->merge($this->getReference('group_fan_de_psytrance'))
|
157
|
|
- , '2011-12-08 17:35:07'
|
|
162
|
+ , $this->dateD(188)
|
158
|
163
|
);
|
159
|
164
|
|
160
|
165
|
$this->createElement('joelle_1', 'Cents Pas - Joëlle',
|
161
|
166
|
'http://www.youtube.com/watch?v=bIAFB4vRdGw',
|
162
|
167
|
$this->getArrayOfTag(array('chanteuse')),
|
163
|
|
- 'youtube.com', $joelle, null, '2011-12-08 14:21:07'
|
|
168
|
+ 'youtube.com', $joelle, null, $this->dateD(187)
|
164
|
169
|
);
|
165
|
170
|
|
166
|
171
|
$this->createElement('joelle_2', 'Cents Pas - Joëlle (bis)',
|
|
@@ -168,43 +173,43 @@ class LoadElementData extends AbstractFixture implements OrderedFixtureInterfac
|
168
|
173
|
$this->getArrayOfTag(array('chanteuse')),
|
169
|
174
|
'youtube.com', $joelle,
|
170
|
175
|
$this->entity_manager->merge($this->getReference('group_joelle'))
|
171
|
|
- , '2011-12-07 14:12:07'
|
|
176
|
+ , $this->dateD(186)
|
172
|
177
|
);
|
173
|
178
|
|
174
|
179
|
$this->createElement('ukf_1', 'UKF Dubstep Mix - August ',
|
175
|
180
|
'http://www.youtube.com/watch?v=SFu2DfPDGeU',
|
176
|
181
|
$this->getArrayOfTag(array('dubstep')),
|
177
|
|
- 'youtube.com', $joelle, null, '2011-12-10 00:35:07'
|
|
182
|
+ 'youtube.com', $joelle, null, $this->dateD(185)
|
178
|
183
|
);
|
179
|
184
|
|
180
|
185
|
$this->createElement('beatbox_1', 'Dubstep Beatbox',
|
181
|
186
|
'http://www.dailymotion.com/video/xm5omz_dubstep-beatbox_creation',
|
182
|
187
|
$this->getArrayOfTag(array('dubstep', 'beatbox')),
|
183
|
|
- 'dailymotion.com', $joelle, null, '2011-12-10 11:11:11'
|
|
188
|
+ 'dailymotion.com', $joelle, null, $this->dateD(184)
|
184
|
189
|
);
|
185
|
190
|
|
186
|
191
|
$this->createElement('soulfly_1', 'SOULFLY - Prophecy',
|
187
|
192
|
'http://www.youtube.com/watch?v=zCc_jLctZkA',
|
188
|
193
|
$this->getArrayOfTag(array('metal')),
|
189
|
|
- 'youtube.com', $bux, null, '2011-12-12 17:39:07'
|
|
194
|
+ 'youtube.com', $bux, null, $this->dateD(183)
|
190
|
195
|
);
|
191
|
196
|
|
192
|
197
|
$this->createElement('azyd_azylum_1', 'AZYD AZYLUM Live au Café Provisoire',
|
193
|
198
|
'http://www.youtube.com/watch?v=8AXhRXAt2E4',
|
194
|
199
|
$this->getArrayOfTag(array('metal')),
|
195
|
|
- 'youtube.com', $bux, null, '2011-11-11 11:11:11'
|
|
200
|
+ 'youtube.com', $bux, null, $this->dateD(182)
|
196
|
201
|
);
|
197
|
202
|
|
198
|
203
|
$this->createElement('babylon_pression_1', 'Babylon Pression - Des Tasers et des Pauvres',
|
199
|
204
|
'http://www.youtube.com/watch?v=XWkbaHxRvds&feature=related',
|
200
|
205
|
$this->getArrayOfTag(array('metal', 'hardcore')),
|
201
|
|
- 'youtube.com', $bux, null, '2011-12-14 18:35:07'
|
|
206
|
+ 'youtube.com', $bux, null, $this->dateD(181)
|
202
|
207
|
);
|
203
|
208
|
|
204
|
209
|
$this->createElement('ed_cox_1', 'Ed Cox - La fanfare des teuffeurs (Hardcordian)',
|
205
|
210
|
'http://www.youtube.com/watch?v=Lk1gnh-JCDs&feature=related',
|
206
|
211
|
$this->getArrayOfTag(array('electro')),
|
207
|
|
- 'youtube.com', $bux, null, '2011-12-15 21:35:07'
|
|
212
|
+ 'youtube.com', $bux, null, $this->dateD(180)
|
208
|
213
|
);
|
209
|
214
|
|
210
|
215
|
|