Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
page_account_manager_management.inc
1 <?php
17 require_once SQ_INCLUDE_PATH.'/asset_management.inc';
18 
29 {
30 
31 
36  function __construct(&$pm)
37  {
38  $this->Asset_Management($pm);
39 
40  $this->vars['create_type'] = Array(
41  'added' => '0.1',
42  'type' => 'serialise',
43  'default' => Array('user' => TRUE),
44  );
45 
46  $this->vars['login_invite'] = Array(
47  'added' => '0.1',
48  'type' => 'wysiwyg',
49  'default' => '<p>If you already have an account, sign in using the form below.</p>',
50  'is_contextable' => TRUE,
51  );
52  $this->vars['login_error'] = Array(
53  'added' => '0.1',
54  'type' => 'wysiwyg',
55  'default' => '<p>Incorrect username or password entered. Please try again.</p>',
56  'is_contextable' => TRUE,
57  );
58  $this->vars['create_invite'] = Array(
59  'added' => '0.1',
60  'type' => 'wysiwyg',
61  'default' => '<p>Sign up for an account using the form below.</p>',
62  'is_contextable' => TRUE,
63  );
64  $this->vars['create_error'] = Array(
65  'added' => '0.1',
66  'type' => 'wysiwyg',
67  'default' => '<p>Your account was not created. Ensure you have entered a username and password and try again.</p>',
68  'is_contextable' => TRUE,
69  );
70  $this->vars['edit_details_invite'] = Array(
71  'added' => '0.1',
72  'type' => 'wysiwyg',
73  'default' => '<p>Edit your details using the form below.</p>',
74  'is_contextable' => TRUE,
75  );
76  $this->vars['edit_details_lock_error'] = Array(
77  'added' => '0.1',
78  'type' => 'wysiwyg',
79  'default' => '<p>Failed to acquire lock for editing. Your account details are displayed below.</p>',
80  'is_contextable' => TRUE,
81  );
82  $this->vars['edit_details_success'] = Array(
83  'added' => '0.1',
84  'type' => 'wysiwyg',
85  'default' => '<p>Your account details have been updated.</p>',
86  'is_contextable' => TRUE,
87  );
88 
89  $this->vars['use_email_validation'] = Array(
90  'added' => '0.1',
91  'type' => 'boolean',
92  'default' => FALSE,
93  'parameters' => Array(
94  'allow_empty' => FALSE,
95  ),
96  );
97 
98  $this->vars['validation_email_format'] = Array(
99  'added' => '0.1',
100  'type' => 'email_format',
101  'default' => Array(),
102  );
103 
104  $this->vars['resend_validation_error'] = Array(
105  'added' => '0.4',
106  'type' => 'wysiwyg',
107  'default' => '<p></p>',
108  'is_contextable' => TRUE,
109  );
110  $this->vars['resend_validation_success']= Array(
111  'added' => '0.4',
112  'type' => 'wysiwyg',
113  'default' => '<p></p>',
114  'is_contextable' => TRUE,
115  );
116  $this->vars['resend_validation_button'] = Array(
117  'added' => '0.4',
118  'type' => 'text',
119  'default' => 'Re-Send Validation',
120  'is_contextable' => TRUE,
121  );
122  $this->vars['resend_validation_period'] = Array(
123  'added' => '0.5',
124  'type' => 'duration',
125  'default' => 0,
126  );
127  $this->vars['remove_account_period'] = Array(
128  'added' => '0.5',
129  'type' => 'duration',
130  'default' => 0,
131  );
132 
133  $this->vars['enter_edit_mode'] = Array(
134  'added' => '0.6',
135  'type' => 'boolean',
136  'default' => TRUE,
137  'parameters' => Array(
138  'allow_empty' => FALSE,
139  ),
140  );
141 
142  }//end constructor
143 
144 
151  function getEventList()
152  {
153  return Array(
154  Array(
155  'event_name' => 'requestKeywords',
156  'broadcast_type_code' => 'content_type',
157  'broadcast_strict_type_code' => FALSE,
158  'options' => Array(
159  'side_of_link' => 'major',
160  'indirect' => TRUE,
161  'is_exclusive' => NULL,
162  'is_dependant' => 1,
163  'value' => '',
164  'link_type' => SQ_LINK_TYPE_2 | SQ_LINK_TYPE_1,
165  ),
166  ),
167  );
168 
169  }//end getEventList()
170 
171 
172 }//end class
173 
174 ?>