Login   Register  
PHP Classes
elePHPant
Icontem

File: cli

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Michael  >  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: 2008-03-01 19:22
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());
}


?>