From 0ad9b373f16dbfaf239e243d332a0b62c1f6533c Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Mon, 21 Aug 2017 10:47:44 -0400 Subject: [PATCH] Push updates for list front model. This is for Chuck to look at. --- models/front/registrations/list.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/models/front/registrations/list.php b/models/front/registrations/list.php index 6aa7bbd..303649f 100644 --- a/models/front/registrations/list.php +++ b/models/front/registrations/list.php @@ -56,6 +56,10 @@ public function modelAction($actionData = false) { + $start = 1; + $limit = 20; + $where = 'true'; + $alphaWhere = ''; // Get any provided option if (isset($_REQUEST['option'])) { @@ -77,6 +81,12 @@ switch ( $option ) { + default: + // Get a current list of reg events + $listResult = $this->getSimpleRegEventsList($where.$alphaWhere, 'event_name', true, 'id', $start, $limit); + echo '
$listResult: ' . print_r( $listResult, true ) . '
'; + break; + } // including test data for now -- 2.17.1