2 /****************************************************************/
\r
4 /****************************************************************/
\r
5 /* Copyright (c) 2002-2009 */
\r
6 /* Inclusive Design Institute */
\r
7 /* http://atutor.ca */
\r
9 /* This program is free software. You can redistribute it and/or*/
\r
10 /* modify it under the terms of the GNU General Public License */
\r
11 /* as published by the Free Software Foundation. */
\r
12 /****************************************************************/
\r
15 /* each table to be backed up. includes the sql entry and fields */
\r
17 * TODO: decide how to back up all the social data
20 $dirs['hello_world/'] = AT_CONTENT_DIR . 'hello_world' . DIRECTORY_SEPARATOR;
\r
23 $sql['hello_world'] = 'SELECT value FROM '.TABLE_PREFIX.'hello_world WHERE course_id=?';
\r
25 function hello_world_convert($row, $course_id, $table_id_map, $version) {
\r
27 $new_row[0] = $course_id;
\r
28 $new_row[1] = $row[0];
\r