From: Steve Sutton Date: Mon, 21 Aug 2017 14:47:44 +0000 (-0400) Subject: Push updates for list front model. X-Git-Tag: v1.0.0^2~463 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=0ad9b373f16dbfaf239e243d332a0b62c1f6533c;p=WP-Plugins%2Fglm-member-db-registrations.git Push updates for list front model. This is for Chuck to look at. --- 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