Files
Kenneth Reitz 29b20bfff0 Import
2011-01-15 22:35:01 -05:00

35 lines
824 B
PHP

<?php
/**
* Billing class
* Billing information
*
* @author Jonathan Davis
* @version 1.0
* @copyright Ingenesis Limited, 28 March, 2008
* @package shopp
**/
class Billing extends DatabaseObject {
static $table = "billing";
function Billing ($id=false,$key=false) {
$this->init(self::$table);
if ($this->load($id,$key)) return true;
else return false;
}
function exportcolumns () {
$prefix = "b.";
return array(
$prefix.'address' => __('Billing Street Address','Shopp'),
$prefix.'xaddress' => __('Billing Street Address 2','Shopp'),
$prefix.'city' => __('Billing City','Shopp'),
$prefix.'state' => __('Billing State/Province','Shopp'),
$prefix.'country' => __('Billing Country','Shopp'),
$prefix.'postcode' => __('Billing Postal Code','Shopp'),
);
}
} // end Billing class
?>