aboutsummaryrefslogtreecommitdiffstats
path: root/include/Import
diff options
context:
space:
mode:
authorKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2014-12-07 19:27:14 +0100
committerKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2014-12-07 19:27:14 +0100
commit63646a144015d788634db974f144a1993b0465cc (patch)
treef1e8cb0b20fd4ad41e4e8ecb7623a30b84d6f6b8 /include/Import
parentf1367cb9f9b86379fe5a80c69691414483e58bad (diff)
downloadvolse-hubzilla-63646a144015d788634db974f144a1993b0465cc.tar.gz
volse-hubzilla-63646a144015d788634db974f144a1993b0465cc.tar.bz2
volse-hubzilla-63646a144015d788634db974f144a1993b0465cc.zip
Some Doxygen comments and small cleanups.
Diffstat (limited to 'include/Import')
-rw-r--r--include/Import/Importer.php38
-rw-r--r--include/Import/refimport.php2
2 files changed, 13 insertions, 27 deletions
diff --git a/include/Import/Importer.php b/include/Import/Importer.php
index c42344236..5e684cd8e 100644
--- a/include/Import/Importer.php
+++ b/include/Import/Importer.php
@@ -1,26 +1,28 @@
<?php /** @file */
-namespace Redmatrix\Import;
-
+namespace RedMatrix\Import;
+/**
+ * @brief Class Import
+ *
+ * @package RedMatrix\Import
+ */
class Import {
- $credentials = null;
- $itemlist = null;
- $src_items = null;
+ private $credentials = null;
- $items = null;
+ protected $itemlist = null;
+ protected $src_items = null;
+ protected $items = null;
function get_credentials() {
-
+ return $this->credentials;
}
function get_itemlist() {
-
-
+ return $this->itemlist;
}
-
function get_item_ident($item) {
}
@@ -43,19 +45,17 @@ class Import {
function convert_taxonomy($item_ident) {
-
}
function convert_child($child) {
}
- function store($item,$update = false) {
+ function store($item, $update = false) {
}
function run() {
-
$this->credentials = $this->get_credentials();
$this->itemlist = $this->get_itemlist();
if($this->itemlist) {
@@ -77,18 +77,6 @@ class Import {
}
$cnt ++;
}
-
-
-
-
}
-
-
-
-
-
-
}
-
-
} \ No newline at end of file
diff --git a/include/Import/refimport.php b/include/Import/refimport.php
index 4f2572660..181b2b398 100644
--- a/include/Import/refimport.php
+++ b/include/Import/refimport.php
@@ -13,8 +13,6 @@ require_once('include/hubloc.php');
// with a browser until all the posts had been imported.
-
-
define('REDMATRIX_IMPORTCHANNEL','mike');
define('REFLECT_EXPORTUSERNAME','mike');
define('REFLECT_BLOGNAME','Diary and Other Rantings');