mirror of
https://github.com/kennethreitz-archive/shopp.git
synced 2026-06-05 23:40:16 +00:00
35 lines
824 B
PHP
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
|
|
|
|
?>
|