@@ -62,4 +62,4 @@ |
||
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | } |
| 65 | - |
|
| 66 | 65 | \ No newline at end of file |
| 66 | + |
|
| 67 | 67 | \ No newline at end of file |
@@ -65,4 +65,4 @@ |
||
| 65 | 65 | |
| 66 | 66 | |
| 67 | 67 | } |
| 68 | - |
|
| 69 | 68 | \ No newline at end of file |
| 69 | + |
|
| 70 | 70 | \ No newline at end of file |
@@ -150,9 +150,9 @@ |
||
| 150 | 150 | } |
| 151 | 151 | |
| 152 | 152 | /** |
| 153 | - * |
|
| 154 | - * @param int $jobSeekerProfileId |
|
| 155 | - */ |
|
| 153 | + * |
|
| 154 | + * @param int $jobSeekerProfileId |
|
| 155 | + */ |
|
| 156 | 156 | public static function getUserByJobSeekerProfileId($jobSeekerProfileId) { |
| 157 | 157 | $user = UserDAO::getUserByJobSeekerProfileId($jobSeekerProfileId); |
| 158 | 158 | return $user; |
@@ -19,50 +19,50 @@ discard block |
||
| 19 | 19 | */ |
| 20 | 20 | class LocaleController {
|
| 21 | 21 | |
| 22 | - /** |
|
| 23 | - * |
|
| 24 | - * @global type array - $locales |
|
| 25 | - * @return type array - $locales |
|
| 26 | - */ |
|
| 27 | - public static function getLocales() {
|
|
| 22 | + /** |
|
| 23 | + * |
|
| 24 | + * @global type array - $locales |
|
| 25 | + * @return type array - $locales |
|
| 26 | + */ |
|
| 27 | + public static function getLocales() {
|
|
| 28 | 28 | |
| 29 | - $locales = LocaleDAO::getLocales(); |
|
| 29 | + $locales = LocaleDAO::getLocales(); |
|
| 30 | 30 | |
| 31 | - return $locales; |
|
| 32 | - } |
|
| 31 | + return $locales; |
|
| 32 | + } |
|
| 33 | 33 | |
| 34 | - /** |
|
| 35 | - * |
|
| 36 | - * @global type array - $locales |
|
| 37 | - * @return type array - $locales |
|
| 38 | - */ |
|
| 39 | - public static function getSiteLocales() {
|
|
| 40 | - $locales = array(); |
|
| 34 | + /** |
|
| 35 | + * |
|
| 36 | + * @global type array - $locales |
|
| 37 | + * @return type array - $locales |
|
| 38 | + */ |
|
| 39 | + public static function getSiteLocales() {
|
|
| 40 | + $locales = array(); |
|
| 41 | 41 | |
| 42 | - //$locales = unserialize(LOCALES); |
|
| 42 | + //$locales = unserialize(LOCALES); |
|
| 43 | 43 | $locales = LocaleDAO::getLocales(); |
| 44 | 44 | |
| 45 | - return $locales; |
|
| 46 | - } |
|
| 45 | + return $locales; |
|
| 46 | + } |
|
| 47 | 47 | |
| 48 | - /** |
|
| 49 | - * |
|
| 50 | - * @global type array - $locales |
|
| 51 | - * @return type array - $locales |
|
| 52 | - */ |
|
| 53 | - public static function getSessionLocale() {
|
|
| 48 | + /** |
|
| 49 | + * |
|
| 50 | + * @global type array - $locales |
|
| 51 | + * @return type array - $locales |
|
| 52 | + */ |
|
| 53 | + public static function getSessionLocale() {
|
|
| 54 | 54 | |
| 55 | 55 | $locale = new Locale(); |
| 56 | 56 | |
| 57 | - return $locale; |
|
| 58 | - } |
|
| 57 | + return $locale; |
|
| 58 | + } |
|
| 59 | 59 | |
| 60 | - /** |
|
| 61 | - * |
|
| 62 | - * @global type array - $locales |
|
| 63 | - * @return type array - $locales |
|
| 64 | - */ |
|
| 65 | - public static function setLocale($newLocale) {
|
|
| 60 | + /** |
|
| 61 | + * |
|
| 62 | + * @global type array - $locales |
|
| 63 | + * @return type array - $locales |
|
| 64 | + */ |
|
| 65 | + public static function setLocale($newLocale) {
|
|
| 66 | 66 | |
| 67 | 67 | $pieces = explode("_", $newLocale);
|
| 68 | 68 | |
@@ -71,8 +71,8 @@ discard block |
||
| 71 | 71 | |
| 72 | 72 | $locale = LocaleDAO::getLocaleByIsoCode($country_code,$language_abbreviation); |
| 73 | 73 | //var_dump($locale); |
| 74 | - return $locale; |
|
| 75 | - } |
|
| 74 | + return $locale; |
|
| 75 | + } |
|
| 76 | 76 | |
| 77 | 77 | } |
| 78 | 78 | |
@@ -106,4 +106,4 @@ |
||
| 106 | 106 | break; |
| 107 | 107 | } |
| 108 | 108 | |
| 109 | - ?> |
|
| 110 | 109 | \ No newline at end of file |
| 110 | + ?> |
|
| 111 | 111 | \ No newline at end of file |
@@ -127,4 +127,4 @@ |
||
| 127 | 127 | break; |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | - ?> |
|
| 130 | + ?> |
|
@@ -106,4 +106,4 @@ |
||
| 106 | 106 | break; |
| 107 | 107 | } |
| 108 | 108 | |
| 109 | - ?> |
|
| 110 | 109 | \ No newline at end of file |
| 110 | + ?> |
|
| 111 | 111 | \ No newline at end of file |