Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
default_delivery_method_management.inc
1 <?php
2 require_once SQ_INCLUDE_PATH.'/asset_edit/asset_edit_fns.inc';
3 
5 {
6 
7 
17  {
18  $this->Asset_Management($pm);
19 
20  $this->vars = Array(
21  'receipt_emails_format' => Array(
22  'added' => '0.2',
23  'type' => 'email_format',
24  'default' => Array(),
25  ),
26  'recipient_emails_format' => Array(
27  'added' => '0.2',
28  'type' => 'email_format',
29  'default' => Array(),
30  ),
31  'payment_gateway' => Array(
32  'added' => '0.3',
33  'type' => 'assetid',
34  'default' => 0,
35  ),
36  'send_emails' => Array(
37  'added' => '0.3',
38  'type' => 'boolean',
39  'default' => TRUE,
40  'parameters' => Array('allow_empty' => FALSE),
41  ),
42  'negative_quantity_message' => Array(
43  'added' => '0.3',
44  'type' => 'text',
45  'default' => 'This is a list of products which have been paid for but for which you do not have enough quantity of.
46 The listed numbers are the amount of products which have been ordered but which are currently not in stock:
47 ',
48  'is_contextable' => TRUE,
49 ),
50  'key_val_rules' => Array(
51  'added' => '0.3',
52  'type' => 'serialise',
53  'default' => Array(),
54  ),
55  'gateway_required' => Array(
56  'added' => '0.3',
57  'type' => 'boolean',
58  'default' => TRUE,
59  'parameters' => Array('allow_empty' => FALSE),
60  ),
61  );
62 
63  }//end constructor
64 
65 
72  function getEventList()
73  {
74  return Array(
75  Array(
76  'event_name' => 'requestKeywords',
77  'broadcast_type_code' => 'content_type',
78  'broadcast_strict_type_code' => FALSE,
79  'options' => Array(
80  'side_of_link' => 'major',
81  'indirect' => TRUE,
82  'is_exclusive' => NULL,
83  'is_dependant' => 1,
84  'value' => '',
85  'link_type' => SQ_LINK_TYPE_2 | SQ_LINK_TYPE_1,
86  ),
87  ),
88  );
89 
90  }//end getEventList()
91 
92 
93 }//end class
94 
95 
96 ?>