Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
paypal_order_edit_fns.inc
1
<?php
18
require_once SQ_INCLUDE_PATH.
'/asset_edit/asset_edit_fns.inc'
;
19
31
class
Paypal_Order_Edit_Fns
extends
Asset_Edit_Fns
32
{
33
34
39
function
__construct
()
40
{
41
parent::__construct();
42
43
}
//end constructor
44
45
56
function
paintTransactionID
(&$asset, &$o, $prefix)
57
{
58
echo
'<b>'
.$asset->attr(
'txn_id'
).
'</b>'
;
59
60
return
TRUE;
61
62
}
//end paintTransactionID()
63
64
75
function
paintPaymentStatus
(&$asset, &$o, $prefix)
76
{
77
echo
'<i>'
.$asset->attr(
'payment_status'
).
'</i>'
;
78
79
return
TRUE;
80
81
}
//end paintPaymentStatus()
82
83
94
function
paintIncompleteReason
(&$asset, &$o, $prefix)
95
{
96
echo $asset->attr(
'incomplete_reason'
);
97
98
return
TRUE;
99
100
}
//end paintIncompleteReason()
101
102
113
function
paintTotalAmount
(&$asset, &$o, $prefix)
114
{
115
echo $asset->attr(
'total_amount'
).
' '
.$asset->attr(
'currency'
);
116
117
return
TRUE;
118
119
}
//end paintTotalAmount()
120
121
132
function
paintSummary
(&$asset, &$o, $prefix)
133
{
134
echo
'Order ID: '
.$asset->id.
'<br /><br />'
;
135
echo $asset->getProductSummary();
136
137
return
TRUE;
138
139
}
//end paintSummary()
140
141
152
function
paintCustomInfo
(&$asset, &$o, $prefix)
153
{
154
echo
'<pre>'
.htmlspecialchars($asset->attr(
'custom_info'
)).
'</pre>'
;
155
156
return
TRUE;
157
158
}
//end paintCustomInfo()
159
160
161
}
//end class
162
?>
squiz_matrix
packages
ecommerce
paypal
paypal_order
paypal_order_edit_fns.inc
Generated on Tue Jan 29 2013 14:05:01 for Squiz Matrix by
1.8.3.1