From cb913f207edefd0477b3ce9b59a227a9c620aef0 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 10 Jul 2015 13:44:30 -0400 Subject: [PATCH] Add import method --- controllers/Import.php | 10 ++++++++++ 1 file changed, 10 insertions(+) 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() -- 2.17.1