1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Add some work in progress - needs further testing

This commit is contained in:
e107steved
2009-07-20 21:18:09 +00:00
parent a7d01d2117
commit 727390e015
3 changed files with 41 additions and 12 deletions

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/import/import_classes.php,v $
| $Revision: 1.1 $
| $Date: 2009-07-20 15:24:34 $
| $Author: e107coders $
| $Revision: 1.2 $
| $Date: 2009-07-20 21:18:09 $
| $Author: e107steved $
|
+----------------------------------------------------------------------------+
*/
@@ -55,6 +55,27 @@ class base_import_class
}
function saveData($dataRecord)
{
switch($this->currentTask)
{
case 'users' :
return $this->saveUserData($dataRecord);
break;
case 'forumdefs' :
return $this->saveForumData($dataRecord);
return FALSE;
case 'forumposts' :
return $this->savePostData($dataRecord);
return FALSE;
case 'polls' :
return FALSE;
case 'news' :
return FALSE;
}
return FALSE;
}
// Return the next record as an array. All data has been converted to the appropriate E107 formats
// Return FALSE if no more data