Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
promotional_code_management.inc
1
<?php
18
require_once SQ_INCLUDE_PATH.
'/asset_management.inc'
;
19
30
class
Promotional_Code_Management
extends
Asset_Management
31
{
32
33
38
function
__construct
(
Package_Manager
$pm)
39
{
40
Asset_Management::__construct($pm);
41
42
$this->vars = Array(
43
'name'
=> Array(
44
'added'
=>
'0.1'
,
45
'type'
=>
'text'
,
46
'default'
=>
''
,
47
'description'
=>
'The full name of the promotional code'
,
48
'is_admin'
=> FALSE,
49
'is_contextable'
=> TRUE,
50
),
51
'code'
=> Array(
52
'added'
=>
'0.1'
,
53
'type'
=>
'text'
,
54
'default'
=>
''
,
55
'description'
=>
'The promotional code string'
,
56
'is_admin'
=> FALSE,
57
'is_contextable'
=> FALSE,
58
),
59
'rules'
=> Array(
60
'added'
=>
'0.1'
,
61
'type'
=>
'serialise'
,
62
'default'
=> Array(),
63
'description'
=>
'The promotional rules applied to this promotional code'
,
64
'is_admin'
=> TRUE,
65
'is_contextable'
=> FALSE,
66
),
67
);
68
69
}
//end constructor
70
71
72
}
//end class
73
74
?>
squiz_matrix
packages
ecommerce
promotion
promotional_code
promotional_code_management.inc
Generated on Tue Jan 29 2013 14:05:01 for Squiz Matrix by
1.8.3.1