Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
bulkmail_subscribe_page_management.inc
1 <?php
18 require_once SQ_INCLUDE_PATH.'/asset_management.inc';
19 
20 
33 {
34 
35 
40  function __construct(&$pm)
41  {
42  parent::__construct($pm);
43 
44  $this->vars = Array(
45  'verify_logged_in' => Array(
46  'added' => '0.0.1',
47  'type' => 'selection',
48  'default' => 'never',
49  'parameters' => Array(
50  'options' => Array(
51  'never' => 'Do not verify',
52  'always' => 'Always verify',
53  'subscribe' => 'Verify on subscription',
54  'unsubscribe' => 'Verify on unsubscription',
55  ),
56  'multiple' => FALSE,
57  'allow_empty' => FALSE,
58  ),
59  'description' => '',
60  ),
61  'verify_not_logged_in' => Array(
62  'added' => '0.0.1',
63  'type' => 'selection',
64  'default' => 'never',
65  'parameters' => Array(
66  'options' => Array(
67  'never' => 'Do not verify',
68  'always' => 'Always verify',
69  'subscribe' => 'Verify on subscription',
70  'unsubscribe' => 'Verify on unsubscription',
71  ),
72  'multiple' => FALSE,
73  'allow_empty' => FALSE,
74  ),
75  'description' => '',
76  ),
77  'verify_from_address' => Array(
78  'added' => '0.0.1',
79  'type' => 'text',
80  'default' => SQ_CONF_DEFAULT_EMAIL,
81  'description' => 'The email address to appear on the verification email.',
82  ),
83  );
84 
85  }//end constructor
86 
87 
94  function getEventList()
95  {
96  return Array(
97  Array(
98  'event_name' => 'requestKeywords',
99  'broadcast_type_code' => 'content_type',
100  'broadcast_strict_type_code' => FALSE,
101  'options' => Array(
102  'side_of_link' => 'major',
103  'indirect' => TRUE,
104  'is_exclusive' => NULL,
105  'is_dependant' => 1,
106  'value' => '',
107  'link_type' => SQ_LINK_TYPE_2 | SQ_LINK_TYPE_1,
108  ),
109  ),
110  );
111 
112  }//end getEventList()
113 
114 
115 }//end class
116 
117 ?>