@@ -19,7 +19,7 @@ |
||
19 | 19 | */ |
20 | 20 | class CLpCategory |
21 | 21 | { |
22 | - /** |
|
22 | + /** |
|
23 | 23 | * @var integer |
24 | 24 | * |
25 | 25 | * @ORM\Column(name="iid", type="integer") |
@@ -22,8 +22,8 @@ |
||
22 | 22 | "searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking", |
23 | 23 | "save table contextmenu directionality emoticons template paste textcolor" |
24 | 24 | ), |
25 | - 'content_css'=> "css/content.css", |
|
26 | - 'toolbar' => "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | l ink image | print preview media fullpage | forecolor backcolor emoticons", |
|
25 | + 'content_css'=> "css/content.css", |
|
26 | + 'toolbar' => "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | l ink image | print preview media fullpage | forecolor backcolor emoticons", |
|
27 | 27 | 'file_browser_callback' => 'elFinderBrowser' |
28 | 28 | ); |
29 | 29 |
@@ -633,8 +633,8 @@ |
||
633 | 633 | } |
634 | 634 | |
635 | 635 | /** |
636 | - * {@inheritdoc} |
|
637 | - */ |
|
636 | + * {@inheritdoc} |
|
637 | + */ |
|
638 | 638 | protected function _archive($dir, $files, $name, $arc) { |
639 | 639 | return false; |
640 | 640 | } |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | * @var array |
18 | 18 | */ |
19 | 19 | public $defaultPlugins = array( |
20 | - 'adobeair', |
|
20 | + 'adobeair', |
|
21 | 21 | 'ajax', |
22 | 22 | 'audio', |
23 | 23 | 'bidi', |
@@ -35,30 +35,30 @@ discard block |
||
35 | 35 | 'iframe', |
36 | 36 | 'iframedialog', |
37 | 37 | 'indentblock', |
38 | - 'justify', |
|
39 | - 'language', |
|
40 | - 'lineutils', |
|
41 | - 'liststyle', |
|
42 | - 'newpage', |
|
43 | - 'oembed', |
|
44 | - 'pagebreak', |
|
45 | - 'preview', |
|
46 | - 'print', |
|
47 | - 'save', |
|
48 | - 'selectall', |
|
49 | - 'sharedspace', |
|
50 | - 'showblocks', |
|
51 | - 'smiley', |
|
52 | - 'sourcedialog', |
|
53 | - 'stylesheetparser', |
|
54 | - 'tableresize', |
|
55 | - 'templates', |
|
56 | - 'uicolor', |
|
57 | - 'video', |
|
58 | - 'widget', |
|
59 | - 'wikilink', |
|
60 | - 'wordcount', |
|
61 | - 'xml' |
|
38 | + 'justify', |
|
39 | + 'language', |
|
40 | + 'lineutils', |
|
41 | + 'liststyle', |
|
42 | + 'newpage', |
|
43 | + 'oembed', |
|
44 | + 'pagebreak', |
|
45 | + 'preview', |
|
46 | + 'print', |
|
47 | + 'save', |
|
48 | + 'selectall', |
|
49 | + 'sharedspace', |
|
50 | + 'showblocks', |
|
51 | + 'smiley', |
|
52 | + 'sourcedialog', |
|
53 | + 'stylesheetparser', |
|
54 | + 'tableresize', |
|
55 | + 'templates', |
|
56 | + 'uicolor', |
|
57 | + 'video', |
|
58 | + 'widget', |
|
59 | + 'wikilink', |
|
60 | + 'wordcount', |
|
61 | + 'xml' |
|
62 | 62 | ); |
63 | 63 | |
64 | 64 | /** |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | 'root_sys' => api_get_path(SYS_PATH), |
52 | 52 | 'sys_root' => api_get_path(SYS_PATH), // just an alias |
53 | 53 | 'sys_course_path' => api_get_path(SYS_COURSE_PATH), |
54 | - // 'sys_config_path' => $app['path.config'], |
|
54 | + // 'sys_config_path' => $app['path.config'], |
|
55 | 55 | 'path.temp' => api_get_path(SYS_ARCHIVE_PATH), |
56 | 56 | //'sys_log_path' => $app['path.logs'] |
57 | 57 | ); |
@@ -325,9 +325,9 @@ discard block |
||
325 | 325 | **/ |
326 | 326 | public function access($attr, $path, $data, $volume) |
327 | 327 | { |
328 | - return strpos(basename($path), '.') === 0 // if file/folder begins with '.' (dot) |
|
329 | - ? !($attr == 'read' || $attr == 'write') // set read+write to false, other (locked+hidden) set to true |
|
330 | - : null; // else elFinder decide it itself |
|
328 | + return strpos(basename($path), '.') === 0 // if file/folder begins with '.' (dot) |
|
329 | + ? !($attr == 'read' || $attr == 'write') // set read+write to false, other (locked+hidden) set to true |
|
330 | + : null; // else elFinder decide it itself |
|
331 | 331 | } |
332 | 332 | |
333 | 333 | /** |
@@ -86,13 +86,13 @@ |
||
86 | 86 | return $this->get($file); |
87 | 87 | } |
88 | 88 | |
89 | - /** |
|
90 | - * Gets a file from the data/courses/MATHS/scorm directory |
|
91 | - * @param string $courseCode |
|
92 | - * @param string $file |
|
93 | - * |
|
94 | - * @return SplFileInfo |
|
95 | - */ |
|
89 | + /** |
|
90 | + * Gets a file from the data/courses/MATHS/scorm directory |
|
91 | + * @param string $courseCode |
|
92 | + * @param string $file |
|
93 | + * |
|
94 | + * @return SplFileInfo |
|
95 | + */ |
|
96 | 96 | public function getCourseScormDocument($courseCode, $file) |
97 | 97 | { |
98 | 98 | $file = 'courses/'.$courseCode.'/scorm/'.$file; |
@@ -60,11 +60,11 @@ |
||
60 | 60 | */ |
61 | 61 | protected $priorityMessage; |
62 | 62 | |
63 | - /** |
|
64 | - * @var integer |
|
65 | - * |
|
66 | - * @ORM\Column(name="option_order", type="integer", nullable=true) |
|
67 | - */ |
|
63 | + /** |
|
64 | + * @var integer |
|
65 | + * |
|
66 | + * @ORM\Column(name="option_order", type="integer", nullable=true) |
|
67 | + */ |
|
68 | 68 | protected $optionOrder; |
69 | 69 | |
70 | 70 | /** |
@@ -153,13 +153,13 @@ |
||
153 | 153 | return $this; |
154 | 154 | } |
155 | 155 | |
156 | - /** |
|
157 | - * Set comment |
|
158 | - * |
|
159 | - * @param string $comment |
|
160 | - * |
|
161 | - * @return ExtraFieldValues |
|
162 | - */ |
|
156 | + /** |
|
157 | + * Set comment |
|
158 | + * |
|
159 | + * @param string $comment |
|
160 | + * |
|
161 | + * @return ExtraFieldValues |
|
162 | + */ |
|
163 | 163 | public function setComment($comment) |
164 | 164 | { |
165 | 165 | $this->comment = $comment; |
@@ -25,7 +25,7 @@ |
||
25 | 25 | */ |
26 | 26 | public function findRequirementForResource($resourceId, $type) |
27 | 27 | { |
28 | - /* $criteria = Criteria::create() |
|
28 | + /* $criteria = Criteria::create() |
|
29 | 29 | ->where(Criteria::expr()->eq("resourceId", $resourceId)) |
30 | 30 | ->andWhere(Criteria::expr()->eq("type", $type)); |
31 | 31 | */ |