Add import method
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 10 Jul 2015 17:44:30 +0000 (13:44 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 10 Jul 2015 17:44:30 +0000 (13:44 -0400)
controllers/Import.php

index f51a03b..5aa61e4 100644 (file)
              $sql = "SELECT * FROM toolbox.pages";
              $data = $this->_dbh->query($sql)->fetchAll();
              printf('<p>Found %d Pages</p>', count($data));
+             echo '<a href="admin.php?import=toolbox&amp;step=1">Start the Import Now</a>';
+         }
+
+         function fetchAllPages()
+         {
+         }
+
+         function import()
+         {
+
          }
 
          function dispatch()