Login   Register  
PHP Classes
elePHPant
Icontem

File: example.ToHTML.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Richard Munroe  >  Paypal NVP  >  example.ToHTML.php  >  Download  
File: example.ToHTML.php
Role: Example script
Content type: text/plain
Description: Test example of ToHTML Utility Class
Class: Paypal NVP
Manage payments using Paypal Name-Value pair API
Author: By
Last change:
Date: 6 years ago
Size: 805 bytes
 

Contents

Class file image Download
<?php

/*
 * Copyright @ 2007, Economic Security Planning, Inc., All rights reserved.
 *
 * $Author: dickmunroe $
 * $Date: 2007/12/30 13:37:34 $
 *
 * Edit History:
 *
 *  Dick Munroe (munroe@csworks.com) 22-Dec-2007
 *      Initial Version Created.
 */

/**
 * @author Dick Munroe (munroe@csworks.com)
 * @copyright copyright @ 2004-2007, Dick Munroe, released under the GPL.
 * @license http://www.csworks.com/publications/ModifiedNetBSD.html
 * @version 1.0.0
 * @package PaypalNVP
 *
 * Test code for checkout the ToHTML and Enumerations classes
 */

include_once('class.EnumerationsPaypalNVP.php') ;
include_once(
'class.ToHTML.php') ;

$xxx = new EnumerationsPaypalNVP() ;
$yyy $xxx->get('DoDirectPayment') ;

$zzz ToHTML::optionsKeyValue($yyy['COUNTRYCODE'], 'United States') ;

echo 
$zzz ;
?>