projects
/
Pman.Cms
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa3d0ef
)
Import/old.php
author
Alan Knowles
<alan@akkbhome.com>
Thu, 29 Jul 2010 13:26:10 +0000
(21:26 +0800)
committer
Alan Knowles
<alan@akkbhome.com>
Thu, 29 Jul 2010 13:26:10 +0000
(21:26 +0800)
Import/old.php
patch
|
blob
|
history
diff --git
a/Import/old.php
b/Import/old.php
index
416d755
..
efbcab9
100644
(file)
--- a/
Import/old.php
+++ b/
Import/old.php
@@
-10,6
+10,18
@@
class Pman_Cms_Import_old extends Pman
function get()
{
+
+ $d = DB_DataObject::factory('Category');
+ $d->query('
+ SELECT * FROM serendipity.category
+ ');
+ $ar = array();
+ while( $d->fetch() ) {
+ $ar[] = clone($d);
+ }
+ // categoryid | category_name | category_description | authorid |
+
+
// import blog data..
//DB_DataObject::debugLevel(1);
$d = DB_DataObject::factory('Page');