| 1 |
<?php |
| 2 |
/** |
| 3 |
* Transactions: BerlinDB database query |
| 4 |
* |
| 5 |
* @package SimplePay |
| 6 |
* @subpackage Core |
| 7 |
* @copyright Copyright (c) 2022, Sandhills Development, LLC |
| 8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
| 9 |
* @since 4.4.6 |
| 10 |
*/ |
| 11 |
|
| 12 |
namespace SimplePay\Core\Transaction\Database; |
| 13 |
|
| 14 |
use SimplePay\Vendor\BerlinDB\Database\Query as BerlinDBQuery; |
| 15 |
|
| 16 |
/** |
| 17 |
* Query class. |
| 18 |
* |
| 19 |
* @since 4.4.5 |
| 20 |
*/ |
| 21 |
class Query extends BerlinDBQuery { |
| 22 |
|
| 23 |
/** |
| 24 |
* {@inheritdoc} |
| 25 |
*/ |
| 26 |
protected $prefix = 'wpsp'; |
| 27 |
|
| 28 |
/** |
| 29 |
* {@inheritdoc} |
| 30 |
*/ |
| 31 |
protected $table_name = 'transactions'; |
| 32 |
|
| 33 |
/** |
| 34 |
* {@inheritdoc} |
| 35 |
*/ |
| 36 |
protected $table_alias = 'txn'; |
| 37 |
|
| 38 |
/** |
| 39 |
* {@inheritdoc} |
| 40 |
*/ |
| 41 |
protected $table_schema = '\\SimplePay\\Core\\Transaction\\Database\\Schema'; |
| 42 |
|
| 43 |
/** |
| 44 |
* {@inheritdoc} |
| 45 |
*/ |
| 46 |
protected $item_name = 'transaction'; |
| 47 |
|
| 48 |
/** |
| 49 |
* {@inheritdoc} |
| 50 |
*/ |
| 51 |
protected $item_name_plural = 'transactions'; |
| 52 |
|
| 53 |
/** |
| 54 |
* {@inheritdoc} |
| 55 |
*/ |
| 56 |
protected $item_shape = '\stdClass'; |
| 57 |
|
| 58 |
/** |
| 59 |
* {@inheritdoc} |
| 60 |
*/ |
| 61 |
protected $cache_group = 'transactions'; |
| 62 |
|
| 63 |
} |
| 64 |
|