@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | -return function ($class) { |
|
2 | +return function($class) { |
|
3 | 3 | static $map; |
4 | - if (!$map) $map = include __DIR__ . '/autoload_classmap.php'; |
|
4 | + if (!$map) $map = include __DIR__.'/autoload_classmap.php'; |
|
5 | 5 | if (!isset($map[$class])) return false; |
6 | 6 | |
7 | 7 | return include $map[$class]; |
@@ -1,8 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | return function ($class) { |
3 | 3 | static $map; |
4 | - if (!$map) $map = include __DIR__ . '/autoload_classmap.php'; |
|
5 | - if (!isset($map[$class])) return false; |
|
4 | + if (!$map) { |
|
5 | + $map = include __DIR__ . '/autoload_classmap.php'; |
|
6 | + } |
|
7 | + if (!isset($map[$class])) { |
|
8 | + return false; |
|
9 | + } |
|
6 | 10 | |
7 | 11 | return include $map[$class]; |
8 | 12 | }; |
@@ -1,2 +1,2 @@ |
||
1 | 1 | <?php |
2 | -spl_autoload_register(include __DIR__ . '/autoload_function.php'); |
|
2 | +spl_autoload_register(include __DIR__.'/autoload_function.php'); |
@@ -1,23 +1,23 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Zend Framework |
|
4 | - * |
|
5 | - * LICENSE |
|
6 | - * |
|
7 | - * This source file is subject to the new BSD license that is bundled |
|
8 | - * with this package in the file LICENSE.txt. |
|
9 | - * It is also available through the world-wide-web at this URL: |
|
10 | - * http://framework.zend.com/license/new-bsd |
|
11 | - * If you did not receive a copy of the license and are unable to |
|
12 | - * obtain it through the world-wide-web, please send an email |
|
13 | - * to [email protected] so we can send you a copy immediately. |
|
14 | - * |
|
15 | - * @category Zend |
|
16 | - * @package Zend_Translator |
|
17 | - * @subpackage Resource |
|
18 | - * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
|
19 | - * @license http://framework.zend.com/license/new-bsd New BSD License |
|
20 | - */ |
|
3 | + * Zend Framework |
|
4 | + * |
|
5 | + * LICENSE |
|
6 | + * |
|
7 | + * This source file is subject to the new BSD license that is bundled |
|
8 | + * with this package in the file LICENSE.txt. |
|
9 | + * It is also available through the world-wide-web at this URL: |
|
10 | + * http://framework.zend.com/license/new-bsd |
|
11 | + * If you did not receive a copy of the license and are unable to |
|
12 | + * obtain it through the world-wide-web, please send an email |
|
13 | + * to [email protected] so we can send you a copy immediately. |
|
14 | + * |
|
15 | + * @category Zend |
|
16 | + * @package Zend_Translator |
|
17 | + * @subpackage Resource |
|
18 | + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
|
19 | + * @license http://framework.zend.com/license/new-bsd New BSD License |
|
20 | + */ |
|
21 | 21 | |
22 | 22 | /** |
23 | 23 | * NL-Revision: 06 Nov 2015 *** G.Besson *** |
@@ -309,13 +309,13 @@ discard block |
||
309 | 309 | 'Object' => 'Object', |
310 | 310 | 'Message' => 'Message', |
311 | 311 | |
312 | - // CONTACT FORM |
|
313 | - 'Contact us' => 'Contact us', |
|
314 | - 'A question to ask ?' => 'A question to ask ?', |
|
315 | - 'Your name' => 'Your name', |
|
316 | - 'Your first name' => 'Your first name', |
|
317 | - 'Your email' => 'Your email', |
|
318 | - 'I have a technical problem' => 'I have a technical problem', |
|
312 | + // CONTACT FORM |
|
313 | + 'Contact us' => 'Contact us', |
|
314 | + 'A question to ask ?' => 'A question to ask ?', |
|
315 | + 'Your name' => 'Your name', |
|
316 | + 'Your first name' => 'Your first name', |
|
317 | + 'Your email' => 'Your email', |
|
318 | + 'I have a technical problem' => 'I have a technical problem', |
|
319 | 319 | 'I have a question about games' => 'I have a question about games', |
320 | 320 | 'I have not received my lot or my invitation' => 'I have not received my lot or my invitation', |
321 | 321 | 'I have a comment or suggestion' => 'I have a comment or suggestion', |
@@ -344,9 +344,9 @@ discard block |
||
344 | 344 | 'Previous exceptions' => 'Previous exceptions', |
345 | 345 | 'No Exception available' => 'No Exception available', |
346 | 346 | 'Other games in' => 'Other games in', |
347 | - '' => '', |
|
348 | - '' => '', |
|
349 | - '' => '', |
|
350 | - '' => '', |
|
351 | - '' => '', |
|
347 | + '' => '', |
|
348 | + '' => '', |
|
349 | + '' => '', |
|
350 | + '' => '', |
|
351 | + '' => '', |
|
352 | 352 | ); |
@@ -1,18 +1,18 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Zend Framework (http://framework.zend.com/) |
|
4 | - * |
|
5 | - * @link http://github.com/zendframework/zf2 for the canonical source repository |
|
6 | - * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
|
7 | - * @license http://framework.zend.com/license/new-bsd New BSD License |
|
8 | - */ |
|
3 | + * Zend Framework (http://framework.zend.com/) |
|
4 | + * |
|
5 | + * @link http://github.com/zendframework/zf2 for the canonical source repository |
|
6 | + * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
|
7 | + * @license http://framework.zend.com/license/new-bsd New BSD License |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** |
11 | 11 | * NL-Revision: 06 Nov 2015 *** G.Besson *** |
12 | 12 | */ |
13 | 13 | return array( |
14 | - // PlaygroundCore\Validator\Blacklist |
|
15 | - "You're not allowed to use this word" => "Het is niet toegestaan om dit woord te gebruiken", |
|
14 | + // PlaygroundCore\Validator\Blacklist |
|
15 | + "You're not allowed to use this word" => "Het is niet toegestaan om dit woord te gebruiken", |
|
16 | 16 | |
17 | 17 | // Zend\I18n\Validator\Alnum |
18 | 18 | "Invalid type given. String, integer or float expected" => "Ongeldig type opgegeven, waarde moet een float, string of integer zijn", |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package PlaygroundCore |
|
4 | - */ |
|
3 | + * @package PlaygroundCore |
|
4 | + */ |
|
5 | 5 | |
6 | 6 | namespace PlaygroundCore\Analytics; |
7 | 7 |
@@ -1,43 +1,43 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Copyright (c) 2012 Jurian Sluiman. |
|
4 | - * All rights reserved. |
|
5 | - * |
|
6 | - * Redistribution and use in source and binary forms, with or without |
|
7 | - * modification, are permitted provided that the following conditions |
|
8 | - * are met: |
|
9 | - * |
|
10 | - * * Redistributions of source code must retain the above copyright |
|
11 | - * notice, this list of conditions and the following disclaimer. |
|
12 | - * |
|
13 | - * * Redistributions in binary form must reproduce the above copyright |
|
14 | - * notice, this list of conditions and the following disclaimer in |
|
15 | - * the documentation and/or other materials provided with the |
|
16 | - * distribution. |
|
17 | - * |
|
18 | - * * Neither the names of the copyright holders nor the names of the |
|
19 | - * contributors may be used to endorse or promote products derived |
|
20 | - * from this software without specific prior written permission. |
|
21 | - * |
|
22 | - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
23 | - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
24 | - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
|
25 | - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
|
26 | - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
|
27 | - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
|
28 | - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
|
29 | - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
|
30 | - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
31 | - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
32 | - * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
33 | - * POSSIBILITY OF SUCH DAMAGE. |
|
34 | - * |
|
35 | - * @package PlaygroundCore |
|
36 | - * @author Jurian Sluiman <[email protected]> |
|
37 | - * @copyright 2012 Jurian Sluiman. |
|
38 | - * @license http://www.opensource.org/licenses/bsd-license.php BSD License |
|
39 | - * @link http://juriansluiman.nl |
|
40 | - */ |
|
3 | + * Copyright (c) 2012 Jurian Sluiman. |
|
4 | + * All rights reserved. |
|
5 | + * |
|
6 | + * Redistribution and use in source and binary forms, with or without |
|
7 | + * modification, are permitted provided that the following conditions |
|
8 | + * are met: |
|
9 | + * |
|
10 | + * * Redistributions of source code must retain the above copyright |
|
11 | + * notice, this list of conditions and the following disclaimer. |
|
12 | + * |
|
13 | + * * Redistributions in binary form must reproduce the above copyright |
|
14 | + * notice, this list of conditions and the following disclaimer in |
|
15 | + * the documentation and/or other materials provided with the |
|
16 | + * distribution. |
|
17 | + * |
|
18 | + * * Neither the names of the copyright holders nor the names of the |
|
19 | + * contributors may be used to endorse or promote products derived |
|
20 | + * from this software without specific prior written permission. |
|
21 | + * |
|
22 | + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
23 | + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
24 | + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
|
25 | + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
|
26 | + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
|
27 | + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
|
28 | + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
|
29 | + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
|
30 | + * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
31 | + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
32 | + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
33 | + * POSSIBILITY OF SUCH DAMAGE. |
|
34 | + * |
|
35 | + * @package PlaygroundCore |
|
36 | + * @author Jurian Sluiman <[email protected]> |
|
37 | + * @copyright 2012 Jurian Sluiman. |
|
38 | + * @license http://www.opensource.org/licenses/bsd-license.php BSD License |
|
39 | + * @link http://juriansluiman.nl |
|
40 | + */ |
|
41 | 41 | namespace PlaygroundCore\Analytics; |
42 | 42 | |
43 | 43 | use PlaygroundCore\Analytics\Ecommerce\Transaction; |
@@ -51,12 +51,12 @@ |
||
51 | 51 | 'è'=>'e', 'é'=>'e', 'ê'=>'e', 'ë'=>'e', 'ì'=>'i', 'í'=>'i', 'î'=>'i', 'ï'=>'i', 'ð'=>'o', 'ñ'=>'n', 'ò'=>'o', 'ó'=>'o', 'ô'=>'o', 'õ'=>'o', |
52 | 52 | 'ö'=>'o', 'ø'=>'o', 'ù'=>'u', 'ú'=>'u', 'û'=>'u', 'ý'=>'y', 'ý'=>'y', 'þ'=>'b', 'ÿ'=>'y', 'Ğ'=>'G', 'İ'=>'I', 'Ş'=>'S', 'ğ'=>'g', 'ı'=>'i', |
53 | 53 | 'ş'=>'s', 'ü'=>'u', 'ă'=>'a', 'Ă'=>'A', 'ș'=>'s', 'Ș'=>'S', 'ț'=>'t', 'Ț'=>'T', 'Α' => 'A', 'Β' => 'B', 'Γ' => 'G', 'Δ' => 'D', 'Ε' => 'E', |
54 | - 'Ζ' => 'Z', 'Η' => 'H', 'Θ' => '8','Ι' => 'I', 'Κ' => 'K', 'Λ' => 'L', 'Μ' => 'M', 'Ν' => 'N', 'Ξ' => '3', 'Ο' => 'O', 'Π' => 'P','Ρ' => 'R', |
|
55 | - 'Σ' => 'S', 'Τ' => 'T', 'Υ' => 'Y', 'Φ' => 'F', 'Χ' => 'X', 'Ψ' => 'PS', 'Ω' => 'W','Ά' => 'A', 'Έ' => 'E', 'Ί' => 'I', 'Ό' => 'O', 'Ύ' => 'Y', |
|
56 | - 'Ή' => 'H', 'Ώ' => 'W', 'Ϊ' => 'I','Ϋ' => 'Y','α' => 'a', 'β' => 'b', 'γ' => 'g', 'δ' => 'd', 'ε' => 'e', 'ζ' => 'z', 'η' => 'h', 'θ' => '8', |
|
57 | - 'ι' => 'i', 'κ' => 'k', 'λ' => 'l', 'μ' => 'm', 'ν' => 'n', 'ξ' => '3', 'ο' => 'o', 'π' => 'p','ρ' => 'r', 'σ' => 's', 'τ' => 't', 'υ' => 'y', |
|
58 | - 'φ' => 'f', 'χ' => 'x', 'ψ' => 'ps', 'ω' => 'w','ά' => 'a', 'έ' => 'e', 'ί' => 'i', 'ό' => 'o', 'ύ' => 'y', 'ή' => 'h', 'ώ' => 'w', 'ς' => 's', |
|
59 | - 'ϊ' => 'i', 'ΰ' => 'y', 'ϋ' => 'y', 'ΐ' => 'i', ); |
|
54 | + 'Ζ' => 'Z', 'Η' => 'H', 'Θ' => '8', 'Ι' => 'I', 'Κ' => 'K', 'Λ' => 'L', 'Μ' => 'M', 'Ν' => 'N', 'Ξ' => '3', 'Ο' => 'O', 'Π' => 'P', 'Ρ' => 'R', |
|
55 | + 'Σ' => 'S', 'Τ' => 'T', 'Υ' => 'Y', 'Φ' => 'F', 'Χ' => 'X', 'Ψ' => 'PS', 'Ω' => 'W', 'Ά' => 'A', 'Έ' => 'E', 'Ί' => 'I', 'Ό' => 'O', 'Ύ' => 'Y', |
|
56 | + 'Ή' => 'H', 'Ώ' => 'W', 'Ϊ' => 'I', 'Ϋ' => 'Y', 'α' => 'a', 'β' => 'b', 'γ' => 'g', 'δ' => 'd', 'ε' => 'e', 'ζ' => 'z', 'η' => 'h', 'θ' => '8', |
|
57 | + 'ι' => 'i', 'κ' => 'k', 'λ' => 'l', 'μ' => 'm', 'ν' => 'n', 'ξ' => '3', 'ο' => 'o', 'π' => 'p', 'ρ' => 'r', 'σ' => 's', 'τ' => 't', 'υ' => 'y', |
|
58 | + 'φ' => 'f', 'χ' => 'x', 'ψ' => 'ps', 'ω' => 'w', 'ά' => 'a', 'έ' => 'e', 'ί' => 'i', 'ό' => 'o', 'ύ' => 'y', 'ή' => 'h', 'ώ' => 'w', 'ς' => 's', |
|
59 | + 'ϊ' => 'i', 'ΰ' => 'y', 'ϋ' => 'y', 'ΐ' => 'i',); |
|
60 | 60 | |
61 | 61 | $value = strtr($value, $unwanted_array); |
62 | 62 |
@@ -174,7 +174,7 @@ |
||
174 | 174 | 'ů' => 'u', |
175 | 175 | 'ý' => 'y', |
176 | 176 | 'ž' => 'z', |
177 | - 'Á' => 'A', |
|
177 | + 'Á' => 'A', |
|
178 | 178 | 'Č' => 'C', |
179 | 179 | 'Ď' => 'D', |
180 | 180 | 'É' => 'E', |
@@ -7,10 +7,10 @@ |
||
7 | 7 | class Formgen extends AbstractMapper |
8 | 8 | { |
9 | 9 | /** |
10 | - * getEntityRepository : recupere l'entite formgen |
|
11 | - * |
|
12 | - * @return PlaygroundCore\Entity\Formgen $formgen |
|
13 | - */ |
|
10 | + * getEntityRepository : recupere l'entite formgen |
|
11 | + * |
|
12 | + * @return PlaygroundCore\Entity\Formgen $formgen |
|
13 | + */ |
|
14 | 14 | public function getEntityRepository() |
15 | 15 | { |
16 | 16 | if (null === $this->er) { |