@@ -21,13 +21,15 @@ discard block |
||
21 | 21 | * For each language, list the symbols, puncutation and letters with diacritics |
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | -class SpecialCharsTr extends AbstractSpecialChars { |
|
24 | +class SpecialCharsTr extends AbstractSpecialChars |
|
25 | +{ |
|
25 | 26 | /** |
26 | 27 | * A list of magiscule letters. |
27 | 28 | * |
28 | 29 | * @return string[] |
29 | 30 | */ |
30 | - public function upper() { |
|
31 | + public function upper() |
|
32 | + { |
|
31 | 33 | return array( |
32 | 34 | 'Â', 'Ç', 'Ğ', 'Î', 'İ', 'Ö', 'Ş', 'Û', 'Ü', |
33 | 35 | ); |
@@ -38,7 +40,8 @@ discard block |
||
38 | 40 | * |
39 | 41 | * @return string[] |
40 | 42 | */ |
41 | - public function lower() { |
|
43 | + public function lower() |
|
44 | + { |
|
42 | 45 | return array( |
43 | 46 | 'â', 'ç', 'ğ', 'î', 'ı', 'ö', 'ş', 'û', 'ü', |
44 | 47 | ); |
@@ -21,13 +21,15 @@ discard block |
||
21 | 21 | * For each language, list the symbols, puncutation and letters with diacritics |
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | -class SpecialCharsAf extends AbstractSpecialChars { |
|
24 | +class SpecialCharsAf extends AbstractSpecialChars |
|
25 | +{ |
|
25 | 26 | /** |
26 | 27 | * A list of magiscule letters. |
27 | 28 | * |
28 | 29 | * @return string[] |
29 | 30 | */ |
30 | - public function upper() { |
|
31 | + public function upper() |
|
32 | + { |
|
31 | 33 | return array( |
32 | 34 | 'È', 'É', 'Ê', 'Ë', 'Î', 'Ï', 'Ô', 'Û', |
33 | 35 | ); |
@@ -38,7 +40,8 @@ discard block |
||
38 | 40 | * |
39 | 41 | * @return string[] |
40 | 42 | */ |
41 | - public function lower() { |
|
43 | + public function lower() |
|
44 | + { |
|
42 | 45 | return array( |
43 | 46 | 'è', 'é', 'ê', 'ë', 'î', 'ï', 'ô', 'û', 'ʼn', |
44 | 47 | ); |
@@ -21,13 +21,15 @@ discard block |
||
21 | 21 | * For each language, list the symbols, puncutation and letters with diacritics |
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | -class SpecialCharsEn extends AbstractSpecialChars { |
|
24 | +class SpecialCharsEn extends AbstractSpecialChars |
|
25 | +{ |
|
25 | 26 | /** |
26 | 27 | * A list of magiscule letters. |
27 | 28 | * |
28 | 29 | * @return string[] |
29 | 30 | */ |
30 | - public function upper() { |
|
31 | + public function upper() |
|
32 | + { |
|
31 | 33 | return array( |
32 | 34 | 'À', 'Á', 'Â', 'Ã', 'Ä', 'Å', 'Æ', 'Ç', 'Ð', 'È', 'É', 'Ê', 'Ë', 'Ì', 'Í', 'Î', 'Ï', |
33 | 35 | 'IJ', 'Ñ', 'Ò', 'Ó', 'Ô', 'Õ', 'Ö', 'Œ', 'Ø', 'Þ', 'Ù', 'Ú', 'Û', 'Ü', 'Ý', 'Ÿ', |
@@ -39,7 +41,8 @@ discard block |
||
39 | 41 | * |
40 | 42 | * @return string[] |
41 | 43 | */ |
42 | - public function lower() { |
|
44 | + public function lower() |
|
45 | + { |
|
43 | 46 | return array( |
44 | 47 | 'à', 'á', 'â', 'ã', 'ä', 'å', 'æ', 'ç', 'ð', 'è', 'é', 'ê', 'ë', 'ì', 'í', 'î', 'ï', |
45 | 48 | 'ij', 'ñ', 'ò', 'ó', 'ô', 'õ', 'ö', 'œ', 'ø', 'þ', 'ù', 'ú', 'û', 'ü', 'ý', 'ÿ', 'ß', |
@@ -21,13 +21,15 @@ discard block |
||
21 | 21 | * For each language, list the symbols, puncutation and letters with diacritics |
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | -class SpecialCharsSv extends AbstractSpecialChars { |
|
24 | +class SpecialCharsSv extends AbstractSpecialChars |
|
25 | +{ |
|
25 | 26 | /** |
26 | 27 | * A list of magiscule letters. |
27 | 28 | * |
28 | 29 | * @return string[] |
29 | 30 | */ |
30 | - public function upper() { |
|
31 | + public function upper() |
|
32 | + { |
|
31 | 33 | return array( |
32 | 34 | 'Ä', 'Å', 'É', 'Ö', 'Á', 'Ë', 'Ü', |
33 | 35 | ); |
@@ -38,7 +40,8 @@ discard block |
||
38 | 40 | * |
39 | 41 | * @return string[] |
40 | 42 | */ |
41 | - public function lower() { |
|
43 | + public function lower() |
|
44 | + { |
|
42 | 45 | return array( |
43 | 46 | 'ä', 'å', 'é', 'ö', 'á', 'ë', 'ü', |
44 | 47 | ); |
@@ -21,13 +21,15 @@ discard block |
||
21 | 21 | * For each language, list the symbols, puncutation and letters with diacritics |
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | -class SpecialCharsEs extends AbstractSpecialChars { |
|
24 | +class SpecialCharsEs extends AbstractSpecialChars |
|
25 | +{ |
|
25 | 26 | /** |
26 | 27 | * A list of magiscule letters. |
27 | 28 | * |
28 | 29 | * @return string[] |
29 | 30 | */ |
30 | - public function upper() { |
|
31 | + public function upper() |
|
32 | + { |
|
31 | 33 | return array( |
32 | 34 | 'Á', 'É', 'Í', 'Ñ', 'Ó', 'Ú', 'Ü', 'Ç', |
33 | 35 | ); |
@@ -38,7 +40,8 @@ discard block |
||
38 | 40 | * |
39 | 41 | * @return string[] |
40 | 42 | */ |
41 | - public function lower() { |
|
43 | + public function lower() |
|
44 | + { |
|
42 | 45 | return array( |
43 | 46 | 'á', 'é', 'í', 'ñ', 'ó', 'ú', 'ü', 'ç', |
44 | 47 | ); |
@@ -21,13 +21,15 @@ discard block |
||
21 | 21 | * For each language, list the symbols, puncutation and letters with diacritics |
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | -abstract class AbstractSpecialChars { |
|
24 | +abstract class AbstractSpecialChars |
|
25 | +{ |
|
25 | 26 | /** |
26 | 27 | * A list of magiscule letters. |
27 | 28 | * |
28 | 29 | * @return string[] |
29 | 30 | */ |
30 | - public function upper() { |
|
31 | + public function upper() |
|
32 | + { |
|
31 | 33 | return array(); |
32 | 34 | } |
33 | 35 | |
@@ -36,7 +38,8 @@ discard block |
||
36 | 38 | * |
37 | 39 | * @return string[] |
38 | 40 | */ |
39 | - public function lower() { |
|
41 | + public function lower() |
|
42 | + { |
|
40 | 43 | return array(); |
41 | 44 | } |
42 | 45 | |
@@ -45,7 +48,8 @@ discard block |
||
45 | 48 | * |
46 | 49 | * @return string[] |
47 | 50 | */ |
48 | - public function other() { |
|
51 | + public function other() |
|
52 | + { |
|
49 | 53 | return array( |
50 | 54 | '¡', '¿', '„', '“', '”', '‚', '‛', '‘', '’', '«', '»', '‹', '›', |
51 | 55 | '–', 'ª', 'º', '€', '¢', '£', '¥', '©', '°', '†', '‡', '§', '¶', |
@@ -21,13 +21,15 @@ |
||
21 | 21 | * For each language, list the symbols, puncutation and letters with diacritics |
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | -class SpecialCharsAr extends AbstractSpecialChars { |
|
24 | +class SpecialCharsAr extends AbstractSpecialChars |
|
25 | +{ |
|
25 | 26 | /** |
26 | 27 | * A list of magiscule letters. |
27 | 28 | * |
28 | 29 | * @return string[] |
29 | 30 | */ |
30 | - public function upper() { |
|
31 | + public function upper() |
|
32 | + { |
|
31 | 33 | return array( |
32 | 34 | 'ا', 'ب', 'ت', 'ث', 'ج', 'ح', 'خ', 'د', 'ذ', 'ر', 'ز', 'س', 'ش', 'ص', 'ض', 'ط', |
33 | 35 | 'ظ', 'ع', 'غ', 'ف', 'ق', 'ك', 'ل', 'م', 'ن', 'ه', 'و', 'ي', 'آ', 'ة', 'ى', 'ی', |
@@ -21,11 +21,13 @@ |
||
21 | 21 | /** |
22 | 22 | * Upgrade the database schema from version 6 to version 7. |
23 | 23 | */ |
24 | -class Migration6 implements MigrationInterface { |
|
24 | +class Migration6 implements MigrationInterface |
|
25 | +{ |
|
25 | 26 | /** |
26 | 27 | * Upgrade to to the next version |
27 | 28 | */ |
28 | - public function upgrade() { |
|
29 | + public function upgrade() |
|
30 | + { |
|
29 | 31 | // Remove tables/columns relating to remote linking |
30 | 32 | |
31 | 33 | try { |
@@ -20,11 +20,13 @@ |
||
20 | 20 | /** |
21 | 21 | * Upgrade the database schema from version 25 to version 26. |
22 | 22 | */ |
23 | -class Migration25 implements MigrationInterface { |
|
23 | +class Migration25 implements MigrationInterface |
|
24 | +{ |
|
24 | 25 | /** |
25 | 26 | * Upgrade to to the next version |
26 | 27 | */ |
27 | - public function upgrade() { |
|
28 | + public function upgrade() |
|
29 | + { |
|
28 | 30 | // - delete unused settings and update indexes |
29 | 31 | Database::exec( |
30 | 32 | "DELETE FROM `##site_setting` WHERE setting_name IN ('WELCOME_TEXT_CUST_HEAD')" |