PHP Classes

File: cli

Recommend this page to a friend!
  Classes of Michael Burgess   SnPayPalApi   cli   Download  
File: cli
Role: Application script
Content type: text/plain
Description: Command Line Front Controller
Class: SnPayPalApi
Manage a Paypal account with the SOAP Paypal API
Author: By
Last change: ...
Date: 16 years ago
Size: 738 bytes
 

Contents

Class file image Download
<?php
 
/**
 *
 *
 * @author Michael J. Burgess
 * @package SnPayPal
 * @copyright Michael J. Burgess, 2008
 * @version 1.0
 * @licence MIT
 */
 
include('SnPayPal/lib/PayPalSoapResponse.class.php');
include(
'lib/SnPayPalConfig.class.php');
include(
'lib/SnPayPalStream.class.php');
include(
'lib/SnPayPalApiParameter.class.php');
include(
'lib/SnPayPalApiInterface.class.php');
include(
'lib/SnPayPalApi.class.php');
include(
'lib/SnCliPayPal.class.php');
include(
'lib/SnPayPalCliMethod.abstract.php');
include(
'lib/SnCliPayPalMethods.class.php');


try
{
   
$cli = new SnCliPayPal();
   
$cli->registerObject(new SnCliPayPalMethods());
}

catch (
Exception $e)
{
   
$cli->write($e->getMessage());
}


?>