Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
paypal_payment_button_management.inc
1
<?php
17
require_once SQ_INCLUDE_PATH.
'/asset_management.inc'
;
18
29
class
Paypal_Payment_Button_Management
extends
Asset_Management
30
{
31
36
function
__construct
(&$pm)
37
{
38
$this->
Asset_Management
($pm);
39
$this->vars = Array(
40
'button_type'
=> Array(
41
'added'
=>
'0.1'
,
42
'type'
=>
'selection'
,
43
'default'
=>
'_xclick'
,
44
'parameters'
=> Array(
45
'multiple'
=> FALSE,
46
'allow_empty'
=> FALSE,
47
'options'
=> Array(
48
'_xclick'
=>
'Buy Now'
,
49
'_donations'
=>
'Donate'
,
50
'_cart'
=>
'Add to Cart'
,
51
'_view_cart'
=>
'View Cart'
,
52
),
53
),
54
),
55
'item_name'
=> Array(
56
'added'
=>
'0.1'
,
57
'type'
=>
'text'
,
58
'default'
=>
''
,
59
'is_admin'
=> FALSE,
60
'is_contextable'
=> TRUE,
61
),
62
'item_id'
=> Array(
63
'added'
=>
'0.1'
,
64
'type'
=>
'text'
,
65
'default'
=>
''
,
66
),
67
'price'
=> Array(
68
'added'
=>
'0.1'
,
69
'type'
=>
'text'
,
70
'default'
=>
''
,
71
'is_admin'
=> FALSE,
72
),
73
'currency'
=> Array(
74
'added'
=>
'0.1'
,
75
'type'
=>
'selection'
,
76
'default'
=>
'GBP'
,
77
'parameters'
=> Array(
78
'multiple'
=> FALSE,
79
'allow_empty'
=> FALSE,
80
'options'
=> Array(
81
'GBP'
=>
'GBP'
,
82
'AUD'
=>
'AUD'
,
83
'USD'
=>
'USD'
,
84
'EUR'
=>
'EUR'
,
85
'JPY'
=>
'JPY'
,
86
),
87
),
88
'is_admin'
=> FALSE,
89
),
90
'undefined_quantity'
=> Array(
91
'added'
=>
'0.1'
,
92
'type'
=>
'boolean'
,
93
'default'
=> TRUE,
94
'parameters'
=> Array(
95
'allow_empty'
=> FALSE,
96
),
97
),
98
'paypal_account_id'
=> Array(
99
'added'
=>
'0.1'
,
100
'type'
=>
'assetid'
,
101
'default'
=>
''
,
102
),
103
'paypal_config_id'
=> Array(
104
'added'
=>
'0.1'
,
105
'type'
=>
'assetid'
,
106
'default'
=>
''
,
107
),
108
'custom_var'
=> Array(
109
'added'
=>
'0.1'
,
110
'type'
=>
'text'
,
111
'default'
=>
''
,
112
),
113
'notify_url'
=> Array(
114
'added'
=>
'0.1'
,
115
'type'
=>
'text'
,
116
'default'
=>
''
,
117
),
118
'return_url'
=> Array(
119
'added'
=>
'0.1'
,
120
'type'
=>
'text'
,
121
'default'
=>
''
,
122
),
123
'cancel_return_url'
=> Array(
124
'added'
=>
'0.1'
,
125
'type'
=>
'text'
,
126
'default'
=>
''
,
127
),
128
'image_url'
=> Array(
129
'added'
=>
'0.1'
,
130
'type'
=>
'text'
,
131
'default'
=>
'https://www.paypal.com/en_GB/i/btn/btn_buynowCC_LG.gif'
,
132
),
133
'cart_target_window'
=> Array(
134
'added'
=>
'0.1'
,
135
'type'
=>
'selection'
,
136
'default'
=>
'paypal'
,
137
'parameters'
=> Array(
138
'multiple'
=> FALSE,
139
'allow_empty'
=> FALSE,
140
'options'
=> Array(
141
'paypal'
=>
'A new window/tab'
,
142
'_self'
=>
'The same window/tab'
,
143
),
144
),
145
),
146
'shopping_url'
=> Array(
147
'added'
=>
'0.1'
,
148
'type'
=>
'text'
,
149
'default'
=>
''
,
150
),
151
'extra_vars'
=> Array(
152
'added'
=>
'0.1'
,
153
'type'
=>
'text'
,
154
'default'
=>
''
,
155
),
156
);
157
158
}
//end constructor
159
160
161
}
//end class
162
?>
squiz_matrix
packages
ecommerce
paypal
paypal_payment_button
paypal_payment_button_management.inc
Generated on Tue Jan 29 2013 14:05:01 for Squiz Matrix by
1.8.3.1