PluginProbe
Better Payment – Instant Payments, Donations, Fundraising with Subscriptions & More / 2.2.1
Better Payment – Instant Payments, Donations, Fundraising with Subscriptions & More v2.2.1
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 / Model.php

Model.php in Better Payment – Instant Payments, Donations, Fundraising with Subscriptions & More 2.2.1, at includes/Model.php

40 lines 548 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;
4
5 use Better_Payment\Lite\Admin\DB;
6
7 /**
8 * Exit if accessed directly
9 */
10 if (!defined('ABSPATH')) {
11 exit;
12 }
13
14 /**
15 * Database Handler class
16 * All DB related classes must extend this class
17 *
18 * @since 0.0.1
19 */
20
21 class Model {
22
23 /**
24 * Plugin database table name
25 *
26 * @since 0.0.1
27 */
28 public $table_name = '';
29
30 /**
31 * Initialize the class
32 *
33 * @since 0.0.1
34 */
35 public function __construct()
36 {
37 $this->table_name = DB::get_table_name();
38 }
39 }
40