| @@ 188-196 (lines=9) @@ | ||
| 185 | case self::COUNT_REGISTRATIONS_ALL: | |
| 186 | $count = $this->registration_model->count(); | |
| 187 | break; | |
| 188 | case self::COUNT_REGISTRATIONS_CANCELLED: | |
| 189 | $count = $this->registration_model->count( | |
| 190 | array( | |
| 191 | array( | |
| 192 | 'STS_ID' => EEM_Registration::status_id_cancelled | |
| 193 | ) | |
| 194 | ) | |
| 195 | ); | |
| 196 | break; | |
| 197 | case self::COUNT_REGISTRATIONS_INCOMPLETE: | |
| 198 | $count = $this->registration_model->count( | |
| 199 | array( | |
| @@ 197-205 (lines=9) @@ | ||
| 194 | ) | |
| 195 | ); | |
| 196 | break; | |
| 197 | case self::COUNT_REGISTRATIONS_INCOMPLETE: | |
| 198 | $count = $this->registration_model->count( | |
| 199 | array( | |
| 200 | array( | |
| 201 | 'STS_ID' => EEM_Registration::status_id_incomplete | |
| 202 | ) | |
| 203 | ) | |
| 204 | ); | |
| 205 | break; | |
| 206 | case self::COUNT_REGISTRATIONS_NOT_APPROVED: | |
| 207 | $count = $this->registration_model->count( | |
| 208 | array( | |
| @@ 206-214 (lines=9) @@ | ||
| 203 | ) | |
| 204 | ); | |
| 205 | break; | |
| 206 | case self::COUNT_REGISTRATIONS_NOT_APPROVED: | |
| 207 | $count = $this->registration_model->count( | |
| 208 | array( | |
| 209 | array( | |
| 210 | 'STS_ID' => EEM_Registration::status_id_not_approved | |
| 211 | ) | |
| 212 | ) | |
| 213 | ); | |
| 214 | break; | |
| 215 | case self::COUNT_REGISTRATIONS_DECLINED: | |
| 216 | $count = $this->registration_model->count( | |
| 217 | array( | |
| @@ 215-223 (lines=9) @@ | ||
| 212 | ) | |
| 213 | ); | |
| 214 | break; | |
| 215 | case self::COUNT_REGISTRATIONS_DECLINED: | |
| 216 | $count = $this->registration_model->count( | |
| 217 | array( | |
| 218 | array( | |
| 219 | 'STS_ID' => EEM_Registration::status_id_declined | |
| 220 | ) | |
| 221 | ) | |
| 222 | ); | |
| 223 | break; | |
| 224 | case self::COUNT_REGISTRATIONS_PENDING: | |
| 225 | $count = $this->registration_model->count( | |
| 226 | array( | |
| @@ 224-232 (lines=9) @@ | ||
| 221 | ) | |
| 222 | ); | |
| 223 | break; | |
| 224 | case self::COUNT_REGISTRATIONS_PENDING: | |
| 225 | $count = $this->registration_model->count( | |
| 226 | array( | |
| 227 | array( | |
| 228 | 'STS_ID' => EEM_Registration::status_id_pending_payment | |
| 229 | ) | |
| 230 | ) | |
| 231 | ); | |
| 232 | break; | |
| 233 | case self::COUNT_REGISTRATIONS_APPROVED: | |
| 234 | $count = $this->registration_model->count( | |
| 235 | array( | |
| @@ 233-241 (lines=9) @@ | ||
| 230 | ) | |
| 231 | ); | |
| 232 | break; | |
| 233 | case self::COUNT_REGISTRATIONS_APPROVED: | |
| 234 | $count = $this->registration_model->count( | |
| 235 | array( | |
| 236 | array( | |
| 237 | 'STS_ID' => EEM_Registration::status_id_approved | |
| 238 | ) | |
| 239 | ) | |
| 240 | ); | |
| 241 | break; | |
| 242 | case self::SUM_TRANSACTIONS_COMPLETE_TOTAL: | |
| 243 | $count = $this->transaction_model->sum( | |
| 244 | array( | |