Completed
Push — 1.10.x ( c0da86...0328a9 )
by
unknown
125:03 queued 74:59
created
main/coursecopy/classes/DummyCourseCreator.class.php 3 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * Useful finder - experimental akelos like only use in notification.lib.php send function
28
+     * @param string $type
28 29
      */
29 30
     public function find($type, $options = null)
30 31
     {
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -291,16 +291,16 @@
 block discarded – undo
291 291
         Duis bibendum elementum justo. Duis posuere. Fusce nulla odio, posuere eget, condimentum nec, venenatis eu, elit. In hac habitasse platea dictumst. Aenean ac sem in enim imperdiet feugiat. Integer tincidunt lectus at elit. Integer magna lacus, vehicula quis, eleifend eget, suscipit vitae, leo. Nunc porta augue nec enim. Curabitur vehicula volutpat enim. Aliquam consequat. Vestibulum rhoncus tellus vitae erat. Integer est. Quisque fermentum leo nec odio. Suspendisse lobortis sollicitudin augue. Nullam urna mi, suscipit eu, sagittis laoreet, ultrices ac, sem. Aliquam enim tortor, hendrerit non, cursus a, tristique sit amet, sapien. Suspendisse potenti. Aenean semper placerat neque.';
292 292
         switch($type)
293 293
         {
294
-         case 'description':
294
+            case 'description':
295 295
             $descriptions = explode(".",$dummy_text);
296 296
             return $descriptions[rand(0,count($descriptions)-1)];
297 297
             break;
298
-         case 'title':
298
+            case 'title':
299 299
             $dummy_text = str_replace(array("\n",'.',',',"\t"),array(' ','','',' '),$dummy_text);
300 300
             $titles = explode(" ",$dummy_text);
301 301
             return trim($titles[rand(0,count($titles)-1)]);
302 302
             break;
303
-         case 'text':
303
+            case 'text':
304 304
             $texts = explode("\n",$dummy_text);
305 305
             return $texts[rand(0,count($texts)-1)];
306 306
             break;
Please login to merge, or discard this patch.
Spacing   +55 added lines, -55 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         $this->default_property['to_user_id'] = null;
43 43
         $this->default_property['visibility'] = '1';
44 44
         $this->default_property['start_visible'] = '0000-00-00 00:00:00';
45
-        $this->default_property['end_visible'] =  '0000-00-00 00:00:00';
45
+        $this->default_property['end_visible'] = '0000-00-00 00:00:00';
46 46
 
47 47
         $course = api_get_course_info($course_code);
48 48
         $this->course = new Course();
@@ -69,13 +69,13 @@  discard block
 block discarded – undo
69 69
         $course = api_get_course_info();
70 70
         $course_doc_path = $this->course->backup_path.'/document/';
71 71
         $number_of_documents = rand(10, 30);
72
-        $extensions = array ('html', 'doc');
72
+        $extensions = array('html', 'doc');
73 73
         $directories = array();
74 74
         $property = $this->default_property;
75 75
         $property['lastedit_type'] = 'DocumentAdded';
76 76
         $property['tool'] = TOOL_DOCUMENT;
77 77
         $doc_id = 0;
78
-        for ($doc_id = 1; $doc_id < $number_of_documents; $doc_id ++)
78
+        for ($doc_id = 1; $doc_id < $number_of_documents; $doc_id++)
79 79
         {
80 80
             $path = '';
81 81
             $doc_type = rand(0, count($extensions) - 1);
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
             $filename = $this->get_dummy_content('title').'_'.$doc_id.'.'.$extension;
84 84
             $content = $this->get_dummy_content('text');
85 85
             $dirs = rand(0, 3);
86
-            for ($i = 0; $i < $dirs; $i ++)
86
+            for ($i = 0; $i < $dirs; $i++)
87 87
             {
88 88
                 $path .= 'directory/';
89 89
                 $directories[$path] = 1;
@@ -98,14 +98,14 @@  discard block
 block discarded – undo
98 98
             fwrite($fp, $content);
99 99
             fclose($fp);
100 100
             $size = filesize($file);
101
-            $document = new Document($doc_id, '/'.$path.$filename,$this->get_dummy_content('description'),$this->get_dummy_content('title'), 'file', $size);
101
+            $document = new Document($doc_id, '/'.$path.$filename, $this->get_dummy_content('description'), $this->get_dummy_content('title'), 'file', $size);
102 102
             $document->item_properties[] = $property;
103 103
             $this->course->add_resource($document);
104 104
         }
105
-        foreach($directories as $path => $flag)
105
+        foreach ($directories as $path => $flag)
106 106
         {
107
-            $path = substr($path,0,strlen($path)-1);
108
-            $document = new Document($doc_id++,'/'.$path, $this->get_dummy_content('description'),$this->get_dummy_content('title'),'folder',0);
107
+            $path = substr($path, 0, strlen($path) - 1);
108
+            $document = new Document($doc_id++, '/'.$path, $this->get_dummy_content('description'), $this->get_dummy_content('title'), 'folder', 0);
109 109
             $property['lastedit_type'] = 'FolderCreated';
110 110
             $document->item_properties[] = $property;
111 111
             $this->course->add_resource($document);
@@ -120,11 +120,11 @@  discard block
 block discarded – undo
120 120
         $property['lastedit_type'] = 'AnnouncementAdded';
121 121
         $property['tool'] = TOOL_ANNOUNCEMENT;
122 122
         $number_of_announcements = rand(10, 30);
123
-        for ($i = 0; $i < $number_of_announcements; $i ++)
123
+        for ($i = 0; $i < $number_of_announcements; $i++)
124 124
         {
125 125
             $time = mktime(rand(1, 24), rand(1, 60), 0, rand(1, 12), rand(1, 28), intval(date('Y')));
126 126
             $date = date('Y-m-d', $time);
127
-            $announcement = new Announcement($i,$this->get_dummy_content('title'),$this->get_dummy_content('text'), $date,0);
127
+            $announcement = new Announcement($i, $this->get_dummy_content('title'), $this->get_dummy_content('text'), $date, 0);
128 128
             $announcement->item_properties[] = $property;
129 129
             $this->course->add_resource($announcement);
130 130
         }
@@ -138,23 +138,23 @@  discard block
 block discarded – undo
138 138
         $property = $this->default_property;
139 139
         $property['lastedit_type'] = 'AgendaAdded';
140 140
         $property['tool'] = TOOL_CALENDAR_EVENT;
141
-        for ($i = 0; $i < $number_of_events; $i ++)
141
+        for ($i = 0; $i < $number_of_events; $i++)
142 142
         {
143
-            $hour = rand(1,24);
144
-            $minute = rand(1,60);
145
-            $second = rand(1,60);
146
-            $day = rand(1,28);
147
-            $month = rand(1,12);
143
+            $hour = rand(1, 24);
144
+            $minute = rand(1, 60);
145
+            $second = rand(1, 60);
146
+            $day = rand(1, 28);
147
+            $month = rand(1, 12);
148 148
             $year = intval(date('Y'));
149
-            $time = mktime($hour,$minute,$second,$month,$day,$year);
149
+            $time = mktime($hour, $minute, $second, $month, $day, $year);
150 150
             $start_date = date('Y-m-d H:m:s', $time);
151
-            $hour = rand($hour,24);
152
-            $minute = rand($minute,60);
153
-            $second = rand($second,60);
154
-            $day = rand($day,28);
155
-            $month = rand($month,12);
151
+            $hour = rand($hour, 24);
152
+            $minute = rand($minute, 60);
153
+            $second = rand($second, 60);
154
+            $day = rand($day, 28);
155
+            $month = rand($month, 12);
156 156
             $year = intval(date('Y'));
157
-            $time = mktime($hour,$minute,$second,$month,$day,$year);
157
+            $time = mktime($hour, $minute, $second, $month, $day, $year);
158 158
             $end_date = date('Y-m-d H:m:s', $time);
159 159
             $event = new CalendarEvent(
160 160
                 $i,
@@ -174,20 +174,20 @@  discard block
 block discarded – undo
174 174
     {
175 175
         // create categorys
176 176
         $number_of_categories = rand(5, 10);
177
-        for ($i = 0; $i < $number_of_categories; $i ++)
177
+        for ($i = 0; $i < $number_of_categories; $i++)
178 178
         {
179
-            $linkcat = new LinkCategory($i, $this->get_dummy_content('title'), $this->get_dummy_content('description'),$i);
179
+            $linkcat = new LinkCategory($i, $this->get_dummy_content('title'), $this->get_dummy_content('description'), $i);
180 180
             $this->course->add_resource($linkcat);
181 181
         }
182 182
         // create links
183 183
         $number_of_links = rand(5, 50);
184
-        $on_homepage = rand(0,20) == 0 ? 1 : 0;
184
+        $on_homepage = rand(0, 20) == 0 ? 1 : 0;
185 185
         $property = $this->default_property;
186 186
         $property['lastedit_type'] = 'LinkAdded';
187 187
         $property['tool'] = TOOL_LINK;
188
-        for ($i = 0; $i < $number_of_links; $i ++)
188
+        for ($i = 0; $i < $number_of_links; $i++)
189 189
         {
190
-            $link = new Link($i, $this->get_dummy_content('title'), 'http://www.google.com/search?q='.$this->get_dummy_content('title'), $this->get_dummy_content('description'), rand(0, $number_of_categories -1),$on_homepage);
190
+            $link = new Link($i, $this->get_dummy_content('title'), 'http://www.google.com/search?q='.$this->get_dummy_content('title'), $this->get_dummy_content('description'), rand(0, $number_of_categories - 1), $on_homepage);
191 191
             $link->item_properties[] = $property;
192 192
             $this->course->add_resource($link);
193 193
         }
@@ -201,18 +201,18 @@  discard block
 block discarded – undo
201 201
         $number_of_forums = rand(5, 50);
202 202
         $number_of_topics = rand(30, 100);
203 203
         $number_of_posts = rand(100, 1000);
204
-        $last_forum_post = array ();
205
-        $last_topic_post = array ();
204
+        $last_forum_post = array();
205
+        $last_topic_post = array();
206 206
         // create categorys
207 207
         $order = 1;
208
-        for ($i = 1; $i <= $number_of_categories; $i ++)
208
+        for ($i = 1; $i <= $number_of_categories; $i++)
209 209
         {
210 210
             $forumcat = new ForumCategory($i, $this->get_dummy_content('title'), $this->get_dummy_content('description'), $order, 0, 0);
211 211
             $this->course->add_resource($forumcat);
212 212
             $order++;
213 213
         }
214 214
         // create posts
215
-        for ($post_id = 1; $post_id <= $number_of_posts; $post_id ++)
215
+        for ($post_id = 1; $post_id <= $number_of_posts; $post_id++)
216 216
         {
217 217
             $topic_id = rand(1, $number_of_topics);
218 218
             $last_topic_post[$topic_id] = $post_id;
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
             $this->course->add_resource($post);
221 221
         }
222 222
         // create topics
223
-        for ($topic_id = 1; $topic_id <= $number_of_topics; $topic_id ++)
223
+        for ($topic_id = 1; $topic_id <= $number_of_topics; $topic_id++)
224 224
         {
225 225
             $forum_id = rand(1, $number_of_forums);
226 226
             $last_forum_post[$forum_id] = $last_topic_post[$topic_id];
@@ -228,9 +228,9 @@  discard block
 block discarded – undo
228 228
             $this->course->add_resource($topic);
229 229
         }
230 230
         // create forums
231
-        for ($forum_id = 1; $forum_id <= $number_of_forums; $forum_id ++)
231
+        for ($forum_id = 1; $forum_id <= $number_of_forums; $forum_id++)
232 232
         {
233
-            $forum = new Forum($forum_id, $this->get_dummy_content('title'),$this->get_dummy_content('description'), rand(1, $number_of_categories), $last_forum_post[$forum_id]);
233
+            $forum = new Forum($forum_id, $this->get_dummy_content('title'), $this->get_dummy_content('description'), rand(1, $number_of_categories), $last_forum_post[$forum_id]);
234 234
             $this->course->add_resource($forum);
235 235
         }
236 236
     }
@@ -239,25 +239,25 @@  discard block
 block discarded – undo
239 239
      */
240 240
     function create_dummy_learnpaths()
241 241
     {
242
-        $number_of_learnpaths = rand(3,5);
242
+        $number_of_learnpaths = rand(3, 5);
243 243
         $global_item_id = 1;
244
-        for($i=1; $i<=$number_of_learnpaths;$i++)
244
+        for ($i = 1; $i <= $number_of_learnpaths; $i++)
245 245
         {
246 246
         $chapters = array();
247
-        $number_of_chapters = rand(1,6);
248
-        for($chapter_id = 1; $chapter_id <= $number_of_chapters; $chapter_id++)
247
+        $number_of_chapters = rand(1, 6);
248
+        for ($chapter_id = 1; $chapter_id <= $number_of_chapters; $chapter_id++)
249 249
         {
250 250
             $chapter['name'] = $this->get_dummy_content('title');
251 251
             $chapter['description'] = $this->get_dummy_content('description');
252 252
             $chapter['display_order'] = $chapter_id;
253 253
             $chapter['items'] = array();
254
-            $number_of_items = rand(5,20);
255
-            for( $item_id = 1; $item_id<$number_of_items; $item_id++)
254
+            $number_of_items = rand(5, 20);
255
+            for ($item_id = 1; $item_id < $number_of_items; $item_id++)
256 256
             {
257
-                $types = array(RESOURCE_ANNOUNCEMENT, RESOURCE_EVENT, RESOURCE_DOCUMENT,RESOURCE_LINK,RESOURCE_FORUM,RESOURCE_FORUMPOST,RESOURCE_FORUMTOPIC);
258
-                $type = $types[rand(0,count($types)-1)];
257
+                $types = array(RESOURCE_ANNOUNCEMENT, RESOURCE_EVENT, RESOURCE_DOCUMENT, RESOURCE_LINK, RESOURCE_FORUM, RESOURCE_FORUMPOST, RESOURCE_FORUMTOPIC);
258
+                $type = $types[rand(0, count($types) - 1)];
259 259
                 $resources = $this->course->resources[$type];
260
-                $resource = $resources[rand(0,count($resources)-1)];
260
+                $resource = $resources[rand(0, count($resources) - 1)];
261 261
                 $item = array();
262 262
                 $item['type'] = $resource->type;
263 263
                 $item['id'] = $resource->source_id;
@@ -265,17 +265,17 @@  discard block
 block discarded – undo
265 265
                 $item['title'] = $this->get_dummy_content('title');
266 266
                 $item['description'] = $this->get_dummy_content('description');
267 267
                 $item['ref_id'] = $global_item_id;
268
-                if( rand(0,5) == 1 && $item_id > 1)
268
+                if (rand(0, 5) == 1 && $item_id > 1)
269 269
                 {
270 270
                     $item['prereq_type'] = 'i';
271
-                    $item['prereq'] = rand($global_item_id - $item_id,$global_item_id-1);
271
+                    $item['prereq'] = rand($global_item_id - $item_id, $global_item_id - 1);
272 272
                 }
273 273
                 $chapter['items'][] = $item;
274 274
                 $global_item_id++;
275 275
             }
276 276
             $chapters[] = $chapter;
277 277
         }
278
-        $lp = new CourseCopyLearnpath($i,$this->get_dummy_content('title'),$this->get_dummy_content('description'),1,$chapters);
278
+        $lp = new CourseCopyLearnpath($i, $this->get_dummy_content('title'), $this->get_dummy_content('description'), 1, $chapters);
279 279
         $this->course->add_resource($lp);
280 280
         }
281 281
     }
@@ -289,20 +289,20 @@  discard block
 block discarded – undo
289 289
         Aenean ac wisi non enim aliquam scelerisque. Praesent eget mi. Vestibulum volutpat pulvinar justo. Phasellus sapien ante, pharetra id, bibendum sed, porta non, purus. Maecenas leo velit, luctus quis, porta non, feugiat sit amet, sapien. Proin vitae augue ut massa adipiscing placerat. Morbi ac risus. Proin dapibus eros egestas quam. Fusce fermentum lobortis elit. Duis lectus tellus, convallis nec, lobortis vel, accumsan ut, nunc. Nunc est. Donec ullamcorper laoreet quam.
290 290
         Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Suspendisse potenti. Mauris mi. Vivamus risus lacus, faucibus sit amet, sollicitudin a, blandit et, justo. In hendrerit. Sed imperdiet, eros at fringilla tempor, turpis augue semper enim, quis rhoncus nibh enim quis dui. Sed massa sapien, mattis et, laoreet sit amet, dignissim nec, urna. Integer laoreet quam quis lectus. Curabitur convallis gravida dui. Nam metus. Ut sit amet augue in nibh interdum scelerisque. Donec venenatis, lacus et pulvinar euismod, libero massa condimentum pede, commodo tristique nunc massa eu quam. Donec vulputate. Aenean in nibh. Phasellus porttitor. Donec molestie, sem ac porttitor vulputate, mauris dui egestas libero, ac lobortis dolor sem vel ligula. Nam vulputate pretium libero. Cras accumsan. Vivamus lacinia sapien sit amet elit.
291 291
         Duis bibendum elementum justo. Duis posuere. Fusce nulla odio, posuere eget, condimentum nec, venenatis eu, elit. In hac habitasse platea dictumst. Aenean ac sem in enim imperdiet feugiat. Integer tincidunt lectus at elit. Integer magna lacus, vehicula quis, eleifend eget, suscipit vitae, leo. Nunc porta augue nec enim. Curabitur vehicula volutpat enim. Aliquam consequat. Vestibulum rhoncus tellus vitae erat. Integer est. Quisque fermentum leo nec odio. Suspendisse lobortis sollicitudin augue. Nullam urna mi, suscipit eu, sagittis laoreet, ultrices ac, sem. Aliquam enim tortor, hendrerit non, cursus a, tristique sit amet, sapien. Suspendisse potenti. Aenean semper placerat neque.';
292
-        switch($type)
292
+        switch ($type)
293 293
         {
294 294
          case 'description':
295
-            $descriptions = explode(".",$dummy_text);
296
-            return $descriptions[rand(0,count($descriptions)-1)];
295
+            $descriptions = explode(".", $dummy_text);
296
+            return $descriptions[rand(0, count($descriptions) - 1)];
297 297
             break;
298 298
          case 'title':
299
-            $dummy_text = str_replace(array("\n",'.',',',"\t"),array(' ','','',' '),$dummy_text);
300
-            $titles = explode(" ",$dummy_text);
301
-            return trim($titles[rand(0,count($titles)-1)]);
299
+            $dummy_text = str_replace(array("\n", '.', ',', "\t"), array(' ', '', '', ' '), $dummy_text);
300
+            $titles = explode(" ", $dummy_text);
301
+            return trim($titles[rand(0, count($titles) - 1)]);
302 302
             break;
303 303
          case 'text':
304
-            $texts = explode("\n",$dummy_text);
305
-            return $texts[rand(0,count($texts)-1)];
304
+            $texts = explode("\n", $dummy_text);
305
+            return $texts[rand(0, count($texts) - 1)];
306 306
             break;
307 307
         }
308 308
     }
Please login to merge, or discard this patch.
main/coursecopy/classes/Thematic.class.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -11,13 +11,13 @@
 block discarded – undo
11 11
 {
12 12
     public $params = array();
13 13
     public $thematic_advance_list = array();
14
-	public $thematic_plan_list = array();
14
+    public $thematic_plan_list = array();
15 15
 
16 16
     /**
17
-    * Create a new Thematic
18
-    *
19
-    * @param array $params
20
-    */
17
+     * Create a new Thematic
18
+     *
19
+     * @param array $params
20
+     */
21 21
     public function __construct($params)
22 22
     {
23 23
         parent::__construct($params['id'], RESOURCE_THEMATIC);
Please login to merge, or discard this patch.
main/coursecopy/classes/CourseSession.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      * @param int $id
19 19
      * @param string $title
20 20
      */
21
-    public function __construct($id,$title)
21
+    public function __construct($id, $title)
22 22
     {
23 23
         parent::__construct($id, RESOURCE_SESSION_COURSE);
24 24
         $this->title = $title;
Please login to merge, or discard this patch.
main/coursecopy/classes/Link.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         $category_id,
47 47
         $on_homepage
48 48
     ) {
49
-        parent::__construct($id,RESOURCE_LINK);
49
+        parent::__construct($id, RESOURCE_LINK);
50 50
         $this->title = $title;
51 51
         $this->url = $url;
52 52
         $this->description = $description;
Please login to merge, or discard this patch.
main/coursecopy/classes/LinkCategory.class.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,9 +29,9 @@
 block discarded – undo
29 29
      * @param string $title
30 30
      * @param string $description
31 31
      */
32
-    public function __construct($id,$title,$description,$display_order)
32
+    public function __construct($id, $title, $description, $display_order)
33 33
     {
34
-        parent::__construct($id,RESOURCE_LINKCATEGORY);
34
+        parent::__construct($id, RESOURCE_LINKCATEGORY);
35 35
         $this->title = $title;
36 36
         $this->description = $description;
37 37
         $this->display_order = $display_order;
Please login to merge, or discard this patch.
main/coursecopy/classes/Glossary.class.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,9 +22,9 @@
 block discarded – undo
22 22
      * @param string $description
23 23
      * @param int $display_order
24 24
      */
25
-    public function __construct($id,$name,$description,$display_order)
25
+    public function __construct($id, $name, $description, $display_order)
26 26
     {
27
-        parent::__construct($id,RESOURCE_GLOSSARY);
27
+        parent::__construct($id, RESOURCE_GLOSSARY);
28 28
         $this->glossary_id = $id;
29 29
         $this->name = $name;
30 30
         $this->description = $description;
Please login to merge, or discard this patch.
main/coursecopy/classes/ScormDocument.class.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      */
22 22
     public function __construct($id, $path, $title)
23 23
     {
24
-        parent::__construct($id,RESOURCE_SCORM);
24
+        parent::__construct($id, RESOURCE_SCORM);
25 25
         $this->path = 'scorm'.$path;
26 26
         $this->title = $title;
27 27
     }
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         echo $path;
37 37
         if (!empty($this->title)) {
38 38
             if (strpos($path, $this->title) === false) {
39
-                echo " - " . $this->title;
39
+                echo " - ".$this->title;
40 40
             }
41 41
         }
42 42
     }
Please login to merge, or discard this patch.
main/coursecopy/classes/SurveyQuestion.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
      * @param string $option_text
86 86
      * @param int	 $sort
87 87
      */
88
-    public function add_answer($option_text,$sort)
88
+    public function add_answer($option_text, $sort)
89 89
     {
90 90
         $answer = array();
91 91
         $answer['option_text'] = $option_text;
Please login to merge, or discard this patch.
main/coursecopy/classes/Announcement.class.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -59,13 +59,13 @@
 block discarded – undo
59 59
         $size,
60 60
         $comment
61 61
     ) {
62
-        parent::__construct($id,RESOURCE_ANNOUNCEMENT);
62
+        parent::__construct($id, RESOURCE_ANNOUNCEMENT);
63 63
 
64
-        $this->content	= $content;
65
-        $this->title 	= $title;
66
-        $this->date 	= $date;
67
-        $this->display_order	= $display_order;
68
-        $this->email_sent	 	= $email_sent;
64
+        $this->content = $content;
65
+        $this->title = $title;
66
+        $this->date = $date;
67
+        $this->display_order = $display_order;
68
+        $this->email_sent = $email_sent;
69 69
 
70 70
         $this->attachment_path 	= $path;
71 71
         $this->attachment_filename = $filename;
Please login to merge, or discard this patch.