Changeset 2041259
- Timestamp:
- 02/28/2019 09:15:37 AM (7 years ago)
- Location:
- pesapress/trunk
- Files:
-
- 2 added
- 7 edited
-
app/controller/admin/class-pp-controller-admin-dashboard.php (modified) (1 diff)
-
app/controller/admin/class-pp-controller-admin-gateways.php (modified) (1 diff)
-
app/controller/admin/class-pp-controller-admin-logs.php (modified) (1 diff)
-
app/external/give (added)
-
app/model/class-pp-model-gateway.php (modified) (2 diffs)
-
app/model/class-pp-model-log.php (modified) (2 diffs)
-
app/views/admin/gateways/integrations/class-pp-views-admin-gateways-integrations-mpesa.php (added)
-
pesapress.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pesapress/trunk/app/controller/admin/class-pp-controller-admin-dashboard.php
r1873265 r2041259 49 49 $view = new PP_Views_Admin_Dash(); 50 50 $view->data = array( 51 'list' => PP_Model_Log::list ( 8, 0, false ),51 'list' => PP_Model_Log::list_by_page( 8, 0, false ), 52 52 'stats' => PP_Model_Statistics::instance() 53 53 ); -
pesapress/trunk/app/controller/admin/class-pp-controller-admin-gateways.php
r1873265 r2041259 60 60 $view->data = array( 61 61 'per_page' => $per_page, 62 'total' => PP_Model_Gateway::count (),63 'list' => PP_Model_Gateway::list ( $per_page, $pagenum )62 'total' => PP_Model_Gateway::count_all(), 63 'list' => PP_Model_Gateway::list_by_page( $per_page, $pagenum ) 64 64 ); 65 65 $view->render(); -
pesapress/trunk/app/controller/admin/class-pp-controller-admin-logs.php
r1873265 r2041259 61 61 $view->data = array( 62 62 'per_page' => $per_page, 63 'total' => PP_Model_Log::count ( $gateway ),64 'list' => PP_Model_Log::list ( $per_page, $pagenum, $gateway ),63 'total' => PP_Model_Log::count_all( $gateway ), 64 'list' => PP_Model_Log::list_by_page( $per_page, $pagenum, $gateway ), 65 65 'gateways' => PP_Model_Gateway::list_simple() 66 66 ); -
pesapress/trunk/app/model/class-pp-model-gateway.php
r2036717 r2041259 219 219 * @return int 220 220 */ 221 public static function count ( $db = false ) {221 public static function count_all( $db = false ) { 222 222 if ( !$db ) { 223 223 global $wpdb; … … 242 242 * ) 243 243 */ 244 public static function list ( $per_page, $page = 0 ) {244 public static function list_by_page( $per_page, $page = 0 ) { 245 245 global $wpdb; 246 246 $settings = array(); -
pesapress/trunk/app/model/class-pp-model-log.php
r2036717 r2041259 462 462 * @return int 463 463 */ 464 public static function count ( $gateway_id = false, $db = false ) {464 public static function count_all( $gateway_id = false, $db = false ) { 465 465 if ( !$db ) { 466 466 global $wpdb; … … 497 497 * ) 498 498 */ 499 public static function list ( $per_page, $page = 0, $gateway_id = false ) {499 public static function list_by_page( $per_page, $page = 0, $gateway_id = false ) { 500 500 global $wpdb; 501 501 $logs = array(); -
pesapress/trunk/pesapress.php
r2036717 r2041259 4 4 Plugin URI: https://alloy.co.ke/project/pesapress 5 5 Description: Integrate PesaPal to WordPress and supported integrations 6 Version: 2. 06 Version: 2.1 7 7 Author: alloykenya 8 8 Author URI: https://alloy.co.ke … … 28 28 * @var string 29 29 */ 30 public $version = '2. 0';30 public $version = '2.1'; 31 31 32 32 -
pesapress/trunk/readme.txt
r2036723 r2041259 4 4 Requires at least: 4.0 5 5 Tested up to: 5.1 6 Stable tag: 2. 06 Stable tag: 2.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 66 66 67 67 == Changelog == 68 = 2.1 = 69 *Fixed: PHP 5.6 compatability 70 68 71 = 2.0 = 69 72 * Added: Gutenberg blocks (Easily add a block in your page and configure your preferred gateway)
Note: See TracChangeset
for help on using the changeset viewer.