Permalink
Browse files

restructuring in preperation for developer meetup

  • Loading branch information...
1 parent d40edcb commit 717d2506e3713f2182ca7e357123f2a0f0d2ae43 @pluspeople committed Jul 15, 2011
View
@@ -0,0 +1 @@
+You could be the one to build this port
File renamed without changes.
@@ -26,7 +26,7 @@
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
*/
-namespace PLUSPEOPLE\Mpesapi;
+namespace PLUSPEOPLE\Pesapi;
class Configuration {
static public $singleton = null;
@@ -26,7 +26,7 @@
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
*/
-namespace PLUSPEOPLE\Mpesapi;
+namespace PLUSPEOPLE\Pesapi;
class Database {
############## Properties ####################
@@ -26,7 +26,7 @@
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
*/
-namespace PLUSPEOPLE\Mpesapi;
+namespace PLUSPEOPLE\Pesapi;
class Payment {
############### Properties ####################
@@ -26,7 +26,7 @@
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
*/
-namespace PLUSPEOPLE\Mpesapi;
+namespace PLUSPEOPLE\Pesapi;
class PaymentFactory {
############### Properties ####################
@@ -26,13 +26,13 @@
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
*/
-namespace PLUSPEOPLE\Mpesapi;
+namespace PLUSPEOPLE\Pesapi;
/*
This is the main interface to the Mpesa API.
Features are collected here for simple interfacing by the user.
*/
-class Mpesapi {
+class Pesapi {
protected $initSyncDate = 0;
protected $lastSyncSetting = null;
@@ -26,7 +26,7 @@
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
*/
-namespace PLUSPEOPLE\Mpesapi;
+namespace PLUSPEOPLE\Pesapi;
class Setting {
############### Properties ####################
@@ -26,7 +26,7 @@
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
*/
-namespace PLUSPEOPLE\Mpesapi;
+namespace PLUSPEOPLE\Pesapi;
class SettingFactory {
############### Properties ####################
@@ -26,7 +26,7 @@
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
*/
-namespace PLUSPEOPLE\Mpesapi\loader;
+namespace PLUSPEOPLE\Pesapi\loader;
class Loader {
protected $baseUrl = "https://www.m-pesa.com/ke/";
@@ -35,7 +35,7 @@ class Loader {
protected $cookieFile = null;
public function __construct() {
- $this->config = \PLUSPEOPLE\Mpesapi\Configuration::instantiate();
+ $this->config = \PLUSPEOPLE\Pesapi\Configuration::instantiate();
$this->curl = curl_init($this->baseUrl);
}
@@ -1,6 +1,6 @@
<?php
-namespace PLUSPEOPLE\Mpesapi\scrubber;
-use \PLUSPEOPLE\Mpesapi\Payment;
+namespace PLUSPEOPLE\Pesapi\scrubber;
+use \PLUSPEOPLE\Pesapi\Payment;
class HTMLPaymentScrubber1 {
const VERSION = "1.0";
@@ -26,7 +26,7 @@
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
*/
-namespace PLUSPEOPLE\Mpesapi\scrubber;
+namespace PLUSPEOPLE\Pesapi\scrubber;
class Scrubber {
const VERSION = "1.0";
View
@@ -0,0 +1 @@
+You could be the one to build this port
View
@@ -0,0 +1 @@
+You could be the one to build this port
@@ -41,7 +41,7 @@
if ($_POST['__VIEWSTATE'] == $_SESSION['VIEWSTATE'] AND
$_POST['LoginCtrl$UserName'] == 'test' AND
$_POST['LoginCtrl$Password'] == 'best' AND
- $_POST['LoginCtrl$txtOrganisationName'] == 'MpesaPi') {
+ $_POST['LoginCtrl$txtOrganisationName'] == 'PesaPi') {
if ($_GET['ReturnUrl'] != "") {
WebUtility::redirect($_GET['ReturnUrl']);

0 comments on commit 717d250

Please sign in to comment.