PluginProbe
Better Payment – Instant Payments, Donations, Fundraising with Subscriptions & More / 2.3.4
Better Payment – Instant Payments, Donations, Fundraising with Subscriptions & More v2.3.4
2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.2 2.2.1 2.2.0 2.1.2 2.1.1 trunk 0.0.1 0.0.2 0.0.3 0.0.4 0.0.5 0.0.6 0.0.7 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 All 66 releases
better-payment / includes / Models / AnalyticsModel.php

AnalyticsModel.php in Better Payment – Instant Payments, Donations, Fundraising with Subscriptions & More 2.3.4, at includes/Models/AnalyticsModel.php

35 lines 677 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Better_Payment\Lite\Models;
4
5 use Better_Payment\Lite\Admin\DB;
6 use Better_Payment\Lite\Model;
7
8 /**
9 * The Analytics handler database class
10 *
11 * @since 0.0.1
12 */
13 class AnalyticsModel extends Model {
14
15 /**
16 * Initialize the class
17 *
18 * @since 0.0.1
19 */
20 public function __construct( ) {
21 parent::__construct();
22 }
23
24 /**
25 * Allowed transaction statuses
26 *
27 * @since 0.0.1
28 */
29 public function allowed_statuses($type = 'all', $version = 'v2' ){
30 $better_payment_db_obj = new DB();
31 $statuses = $better_payment_db_obj->allowed_statuses($type, $version);
32 return $statuses;
33 }
34
35 }