@@ -686,7 +686,7 @@ |
||
686 | 686 | $settings->setSchemaAlias($schemaAlias); |
687 | 687 | } |
688 | 688 | |
689 | - // We need to get a plain parameters array since we use the options resolver on it |
|
689 | + // We need to get a plain parameters array since we use the options resolver on it |
|
690 | 690 | //$parameters = $settings->getParameters(); |
691 | 691 | $parameters = $this->getParameters($schemaAliasNoPrefix); |
692 | 692 |
@@ -133,9 +133,9 @@ |
||
133 | 133 | return $this->sessionId; |
134 | 134 | } |
135 | 135 | |
136 | - /** |
|
137 | - * @return string |
|
138 | - */ |
|
136 | + /** |
|
137 | + * @return string |
|
138 | + */ |
|
139 | 139 | public function getTool() |
140 | 140 | { |
141 | 141 | return $this->tool; |
@@ -686,7 +686,7 @@ |
||
686 | 686 | $settings->setSchemaAlias($schemaAlias); |
687 | 687 | } |
688 | 688 | |
689 | - // We need to get a plain parameters array since we use the options resolver on it |
|
689 | + // We need to get a plain parameters array since we use the options resolver on it |
|
690 | 690 | //$parameters = $settings->getParameters(); |
691 | 691 | $parameters = $this->getParameters($schemaAliasNoPrefix); |
692 | 692 |
@@ -29,9 +29,9 @@ discard block |
||
29 | 29 | $this->setType('float'); |
30 | 30 | } |
31 | 31 | |
32 | - /** |
|
33 | - * @param string $value |
|
34 | - */ |
|
32 | + /** |
|
33 | + * @param string $value |
|
34 | + */ |
|
35 | 35 | public function setValue($value) |
36 | 36 | { |
37 | 37 | $value = api_float_val($value); |
@@ -47,10 +47,10 @@ discard block |
||
47 | 47 | */ |
48 | 48 | public function getValue() |
49 | 49 | { |
50 | - $value = $this->getAttribute('value'); |
|
51 | - $value = api_float_val($value); |
|
50 | + $value = $this->getAttribute('value'); |
|
51 | + $value = api_float_val($value); |
|
52 | 52 | |
53 | - return $value; |
|
53 | + return $value; |
|
54 | 54 | } |
55 | 55 | |
56 | 56 | /** |
@@ -12,9 +12,9 @@ discard block |
||
12 | 12 | $this_section = SECTION_COURSES; |
13 | 13 | |
14 | 14 | if (isset($_GET['archive_path'])) { |
15 | - $archive_path = api_get_path(SYS_ARCHIVE_PATH); |
|
15 | + $archive_path = api_get_path(SYS_ARCHIVE_PATH); |
|
16 | 16 | } else { |
17 | - $archive_path = CourseArchiver::getBackupDir(); |
|
17 | + $archive_path = CourseArchiver::getBackupDir(); |
|
18 | 18 | } |
19 | 19 | $archive_file = isset($_GET['archive']) ? $_GET['archive'] : null; |
20 | 20 | $archive_file = str_replace(array('..', '/', '\\'), '', $archive_file); |
@@ -29,9 +29,9 @@ discard block |
||
29 | 29 | $content_type = ''; |
30 | 30 | |
31 | 31 | if (in_array($extension, array('xml', 'csv')) && (api_is_platform_admin(true) || api_is_drh())) { |
32 | - $content_type = 'application/force-download'; |
|
32 | + $content_type = 'application/force-download'; |
|
33 | 33 | } elseif ($extension === 'zip' && $_cid && (api_is_platform_admin(true) || $is_courseAdmin)) { |
34 | - $content_type = 'application/force-download'; |
|
34 | + $content_type = 'application/force-download'; |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | if (empty($content_type)) { |
@@ -105,8 +105,8 @@ discard block |
||
105 | 105 | |
106 | 106 | if (isset($_POST['language'])) { |
107 | 107 | |
108 | - $form->addElement('static', Security::remove_XSS($_POST['language'])); |
|
109 | - $form->addElement('hidden', 'language', Security::remove_XSS($_POST['language'])); |
|
108 | + $form->addElement('static', Security::remove_XSS($_POST['language'])); |
|
109 | + $form->addElement('hidden', 'language', Security::remove_XSS($_POST['language'])); |
|
110 | 110 | $form->addHtmlEditor( |
111 | 111 | 'content', |
112 | 112 | get_lang('Content'), |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | |
139 | 139 | } else { |
140 | 140 | $form->addSelectLanguage('language', get_lang('Language'), null, array()); |
141 | - $form->addButtonSearch(get_lang('Load'), 'send'); |
|
141 | + $form->addButtonSearch(get_lang('Load'), 'send'); |
|
142 | 142 | |
143 | 143 | } |
144 | 144 |
@@ -47,7 +47,7 @@ |
||
47 | 47 | //make some vars |
48 | 48 | $wamidir = $dir; |
49 | 49 | if ($wamidir == "/") { |
50 | - $wamidir = ""; |
|
50 | + $wamidir = ""; |
|
51 | 51 | } |
52 | 52 | $wamiurlplay = api_get_path(WEB_COURSE_PATH).api_get_course_path().'/document'.$wamidir."/"; |
53 | 53 | $groupId = api_get_group_id(); |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | $queries->addQuery('CREATE INDEX user_course_session_date ON track_e_access (access_user_id, c_id, access_session_id, access_date)'); |
176 | 176 | } |
177 | 177 | |
178 | - // Update iso |
|
178 | + // Update iso |
|
179 | 179 | $sql = "UPDATE course SET course_language = (SELECT isocode FROM language WHERE english_name = course_language);"; |
180 | 180 | $queries->addQuery($sql); |
181 | 181 | |
@@ -263,7 +263,7 @@ discard block |
||
263 | 263 | $queries->addQuery("ALTER TABLE personal_agenda DROP hotspot_course_code");*/ |
264 | 264 | |
265 | 265 | |
266 | - // Update settings variable name |
|
266 | + // Update settings variable name |
|
267 | 267 | $settings = [ |
268 | 268 | 'Institution' => 'institution', |
269 | 269 | 'SiteName' => 'site_name', |
@@ -1862,9 +1862,9 @@ discard block |
||
1862 | 1862 | return 0; |
1863 | 1863 | } |
1864 | 1864 | |
1865 | - /** |
|
1866 | - * @return array |
|
1867 | - */ |
|
1865 | + /** |
|
1866 | + * @return array |
|
1867 | + */ |
|
1868 | 1868 | public static function getPriorityList() |
1869 | 1869 | { |
1870 | 1870 | $projects = Database::getManager()->getRepository('ChamiloTicketBundle:Priority')->findAll(); |
@@ -2279,8 +2279,8 @@ discard block |
||
2279 | 2279 | } |
2280 | 2280 | |
2281 | 2281 | /** |
2282 | - * @return array |
|
2283 | - */ |
|
2282 | + * @return array |
|
2283 | + */ |
|
2284 | 2284 | public static function getDefaultPriorityList() |
2285 | 2285 | { |
2286 | 2286 | return [ |