Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
bulkmail_job_management.inc
1 <?php
17 require_once SQ_INCLUDE_PATH.'/asset_management.inc';
18 
32 {
33 
34 
39  function __construct(&$pm)
40  {
41  parent::__construct($pm);
42 
43  $this->vars = Array(
44  'name' => Array(
45  'added' => '0.1',
46  'type' => 'text',
47  'default' => '',
48  ),
49  'use_post_office_header' => Array(
50  'added' => '0.1',
51  'type' => 'boolean',
52  'default' => TRUE,
53  'description' => 'Whether to use the post office header details.',
54  ),
55  'content_text_only' => Array(
56  'added' => '0.2',
57  'type' => 'boolean',
58  'default' => FALSE,
59  'description' => 'When TRUE, the bulkmail will be text only.',
60  'parameters' => Array(
61  'allow_empty' => FALSE,
62  ),
63  ),
64  'content_body_filter' => Array(
65  'added' => '0.2',
66  'type' => 'boolean',
67  'default' => FALSE,
68  'parameters' => Array(
69  'allow_empty' => FALSE,
70  ),
71  ),
72  'content_body_filter_match' => Array(
73  'added' => '0.2',
74  'type' => 'boolean',
75  'default' => TRUE,
76  'parameters' => Array(
77  'allow_empty' => FALSE,
78  ),
79  ),
80  'content_body_filter_text' => Array(
81  'added' => '0.2',
82  'type' => 'text',
83  'default' => '',
84  ),
85  'user_subscriptions_status' => Array(
86  'added' => '0.2',
87  'type' => 'boolean',
88  'default' => FALSE,
89  'parameters' => Array(
90  'allow_empty' => FALSE,
91  ),
92  'description' => 'Determines if the user subscription is activated or not.',
93  ),
94  'subscriptions' => Array(
95  'added' => '0.2',
96  'type' => 'serialise',
97  'default' => Array(),
98  'description' => 'Data about the user subscriptions.',
99  ),
100  'scheduled_time' => Array(
101  'added' => '0.2',
102  'type' => 'serialise',
103  'default' => Array(),
104  'description' => 'Data about the job scheduling.',
105  ),
106  'scheduling_status' => Array(
107  'added' => '0.2',
108  'type' => 'boolean',
109  'default' => FALSE,
110  'parameters' => Array(
111  'allow_empty' => FALSE,
112  ),
113  'description' => 'Determines if the job scheduling is activated or not.',
114  ),
115  'last_scheduled_run' => Array(
116  'added' => '0.2',
117  'type' => 'int',
118  'default' => 0,
119  'description' => 'Registers the last scheduled run performed by cron job',
120  ),
121  );
122 
123  }//end constructor
124 
125 
126 }//end class
127 ?>