Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
promotional_code_management.inc
1 <?php
18 require_once SQ_INCLUDE_PATH.'/asset_management.inc';
19 
31 {
32 
33 
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 ?>