From: Steve Sutton Date: Fri, 10 Jul 2015 17:44:30 +0000 (-0400) Subject: Add import method X-Git-Tag: v0.0.2^2~46 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=cb913f207edefd0477b3ce9b59a227a9c620aef0;p=WP-Plugins%2Fglm-wp-importer.git Add import method --- diff --git a/controllers/Import.php b/controllers/Import.php index f51a03b..5aa61e4 100644 --- a/controllers/Import.php +++ b/controllers/Import.php @@ -83,6 +83,16 @@ $sql = "SELECT * FROM toolbox.pages"; $data = $this->_dbh->query($sql)->fetchAll(); printf('

Found %d Pages

', count($data)); + echo 'Start the Import Now'; + } + + function fetchAllPages() + { + } + + function import() + { + } function dispatch()