@@ -94,12 +94,12 @@ |
||
94 | 94 | */ |
95 | 95 | protected $assignedLastUser; |
96 | 96 | |
97 | - /** |
|
98 | - * @var Status |
|
99 | - * |
|
100 | - * @ORM\ManyToOne(targetEntity="Chamilo\TicketBundle\Entity\Status") |
|
101 | - * @ORM\JoinColumn(name="status_id", referencedColumnName="id") |
|
102 | - **/ |
|
97 | + /** |
|
98 | + * @var Status |
|
99 | + * |
|
100 | + * @ORM\ManyToOne(targetEntity="Chamilo\TicketBundle\Entity\Status") |
|
101 | + * @ORM\JoinColumn(name="status_id", referencedColumnName="id") |
|
102 | + **/ |
|
103 | 103 | protected $status; |
104 | 104 | |
105 | 105 | /** |
@@ -56,7 +56,7 @@ |
||
56 | 56 | */ |
57 | 57 | protected $filename; |
58 | 58 | |
59 | - /** |
|
59 | + /** |
|
60 | 60 | * @var integer |
61 | 61 | * |
62 | 62 | * @ORM\Column(name="size", type="integer", nullable=false, unique=false) |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | |
11 | 11 | // When creating a new course this settings are added to the course |
12 | 12 | public $course_settings = array( |
13 | - array( |
|
13 | + array( |
|
14 | 14 | 'name' => 'course_block_pre_footer', |
15 | 15 | 'type' => 'textarea' |
16 | 16 | ), |
@@ -66,9 +66,9 @@ discard block |
||
66 | 66 | } |
67 | 67 | |
68 | 68 | /** |
69 | - * @param string $region |
|
70 | - * @return string |
|
71 | - */ |
|
69 | + * @param string $region |
|
70 | + * @return string |
|
71 | + */ |
|
72 | 72 | public function renderRegion($region) |
73 | 73 | { |
74 | 74 | $content = ''; |
@@ -53,12 +53,12 @@ |
||
53 | 53 | */ |
54 | 54 | protected $ipAddress; |
55 | 55 | |
56 | - /** |
|
57 | - * @var Ticket |
|
58 | - * |
|
59 | - * @ORM\ManyToOne(targetEntity="Chamilo\TicketBundle\Entity\Ticket") |
|
60 | - * @ORM\JoinColumn(name="ticket_id", referencedColumnName="id") |
|
61 | - **/ |
|
56 | + /** |
|
57 | + * @var Ticket |
|
58 | + * |
|
59 | + * @ORM\ManyToOne(targetEntity="Chamilo\TicketBundle\Entity\Ticket") |
|
60 | + * @ORM\JoinColumn(name="ticket_id", referencedColumnName="id") |
|
61 | + **/ |
|
62 | 62 | protected $ticket; |
63 | 63 | |
64 | 64 | /** |
@@ -10,7 +10,7 @@ |
||
10 | 10 | |
11 | 11 | api_protect_course_script(); |
12 | 12 | if (!api_is_allowed_to_edit()) { |
13 | - api_not_allowed(); |
|
13 | + api_not_allowed(); |
|
14 | 14 | } |
15 | 15 | $course_info = api_get_course_info(); |
16 | 16 | $course_code = $course_info['code']; |
@@ -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'), |
@@ -136,8 +136,8 @@ discard block |
||
136 | 136 | $form->addElement('html', $buttons); |
137 | 137 | |
138 | 138 | } else { |
139 | - $form->addElement('select_language', 'language', get_lang('Language'),null,array()); |
|
140 | - $form->addButtonSearch(get_lang('Load'), 'send'); |
|
139 | + $form->addElement('select_language', 'language', get_lang('Language'),null,array()); |
|
140 | + $form->addButtonSearch(get_lang('Load'), 'send'); |
|
141 | 141 | |
142 | 142 | } |
143 | 143 |
@@ -42,10 +42,10 @@ |
||
42 | 42 | // this 2 "mask" function are here just because the SortableTable |
43 | 43 | function get_legal_data_mask($id, $params = null, $row = null) |
44 | 44 | { |
45 | - return LegalManager::get_legal_data($id, $params, $row); |
|
45 | + return LegalManager::get_legal_data($id, $params, $row); |
|
46 | 46 | } |
47 | 47 | function count_mask() |
48 | 48 | { |
49 | - return LegalManager::count(); |
|
49 | + return LegalManager::count(); |
|
50 | 50 | } |
51 | 51 | Display :: display_footer(); |
@@ -619,8 +619,8 @@ discard block |
||
619 | 619 | } |
620 | 620 | |
621 | 621 | /** |
622 | - * Recycle Thematics |
|
623 | - */ |
|
622 | + * Recycle Thematics |
|
623 | + */ |
|
624 | 624 | public function recycle_thematic($session_id = 0) |
625 | 625 | { |
626 | 626 | if ($this->course->has_resources(RESOURCE_THEMATIC)) { |
@@ -685,8 +685,8 @@ discard block |
||
685 | 685 | } |
686 | 686 | |
687 | 687 | /** |
688 | - * Recycle Attendances |
|
689 | - */ |
|
688 | + * Recycle Attendances |
|
689 | + */ |
|
690 | 690 | public function recycle_attendance($session_id = 0) |
691 | 691 | { |
692 | 692 | if ($this->course->has_resources(RESOURCE_ATTENDANCE)) { |
@@ -326,9 +326,9 @@ discard block |
||
326 | 326 | } |
327 | 327 | |
328 | 328 | /** |
329 | - * Serialize the course with the best serializer available |
|
330 | - * @return string |
|
331 | - */ |
|
329 | + * Serialize the course with the best serializer available |
|
330 | + * @return string |
|
331 | + */ |
|
332 | 332 | public static function serialize($course) |
333 | 333 | { |
334 | 334 | if (extension_loaded('igbinary')) { |
@@ -339,9 +339,9 @@ discard block |
||
339 | 339 | } |
340 | 340 | |
341 | 341 | /** |
342 | - * Unserialize the course with the best serializer available |
|
343 | - * @param string $course |
|
344 | - */ |
|
342 | + * Unserialize the course with the best serializer available |
|
343 | + * @param string $course |
|
344 | + */ |
|
345 | 345 | public static function unserialize($course) |
346 | 346 | { |
347 | 347 | if (extension_loaded('igbinary')) { |