diff options
author | Thomas Willingham <beardyunixer@beardyunixer.com> | 2014-12-08 13:19:46 +0000 |
---|---|---|
committer | Thomas Willingham <beardyunixer@beardyunixer.com> | 2014-12-08 13:19:46 +0000 |
commit | a007426965490fd7251cd917f1219bfc6bdf557b (patch) | |
tree | 97774b559c8194bf487eca770e74b21e0ebdf895 /include/Import | |
parent | 88cfdb864c3cfe0f782668cb93fe69c43256cb01 (diff) | |
parent | 63646a144015d788634db974f144a1993b0465cc (diff) | |
download | volse-hubzilla-a007426965490fd7251cd917f1219bfc6bdf557b.tar.gz volse-hubzilla-a007426965490fd7251cd917f1219bfc6bdf557b.tar.bz2 volse-hubzilla-a007426965490fd7251cd917f1219bfc6bdf557b.zip |
Merge pull request #727 from dawnbreak/docu
Some Doxygen comments and small cleanups.
Diffstat (limited to 'include/Import')
-rw-r--r-- | include/Import/Importer.php | 38 | ||||
-rw-r--r-- | include/Import/refimport.php | 2 |
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'); |