Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
page_user_group_manager_management.inc
1 <?php
18 require_once SQ_INCLUDE_PATH.'/asset_management.inc';
19 
32 {
33 
34 
39  function __construct(&$pm)
40  {
41  $this->Asset_Management($pm);
42 
43 
44  $this->vars['root_node'] = Array(
45  'added' => '0.1',
46  'type' => 'int',
47  'default' => '6',
48  'description' => 'Where to start looking for locations',
49  );
50 
51  $this->vars['include_root_node'] = Array(
52  'added' => '0.1',
53  'type' => 'boolean',
54  'default' => FALSE,
55  'description' => 'Whether to show the top level in the selector',
56  'parameters' => Array('allow_empty' => FALSE),
57  );
58 
59  $this->vars['link_type'] = Array(
60  'added' => '0.1',
61  'type' => 'selection',
62  'default' => SQ_LINK_TYPE_1,
63  'parameters' => Array(
64  'options' => Array(
65  SQ_LINK_TYPE_1 => 'Type 1',
66  SQ_LINK_TYPE_2 => 'Type 2',
67  SQ_LINK_NOTICE => 'Notice',
68  ),
69  ),
70  'multiple' => FALSE,
71  'allow_empty' => FALSE,
72  'description' => 'Type of links to create for new selections',
73  );
74 
75  $this->vars['structured_width'] = Array(
76  'added' => '0.11',
77  'type' => 'int',
78  'default' => 0,
79  'description' => 'Width of the selector',
80  );
81 
82  $this->vars['structured_height'] = Array(
83  'added' => '0.11',
84  'type' => 'int',
85  'default' => 0,
86  'description' => 'Height of the selector',
87  );
88 
89  $this->vars['max_depth'] = Array(
90  'added' => '0.11',
91  'type' => 'int',
92  'default' => 0,
93  'description' => 'Maximum Depth of the selector',
94  );
95 
96  $this->vars['seperator'] = Array(
97  'added' => '0.11',
98  'type' => 'text',
99  'default' => '-',
100  'description' => 'Seperator for the dropdown selector',
101  );
102 
103  $this->vars['allow_multiple'] = Array(
104  'added' => '0.11',
105  'type' => 'boolean',
106  'default' => FALSE,
107  'description' => 'Should the user be able to select multiple links at once',
108  'parameters' => Array('allow_empty' => FALSE),
109  );
110  $this->vars['structured_style'] = Array(
111  'added' => '0.12',
112  'type' => 'boolean',
113  'default' => FALSE,
114  'description' => 'Show as standard or checkbox style',
115  'parameters' => Array('allow_empty' => FALSE),
116  );
117  $this->vars['submit-button'] = Array(
118  'added' => '0.12',
119  'type' => 'text',
120  'default' => 'Submit',
121  'description' => 'Value of submit button text',
122  'is_contextable' => TRUE,
123  );
124 
125  $this->vars['statuses'] = Array(
126  'added' => '0.8',
127  'type' => 'serialise',
128  'default' => Array(),
129  'description' => 'Statuses that are being searched.',
130  );
131 
132  }//end constructor
133 
134 
141  function getEventList()
142  {
143  return Array(
144  Array(
145  'event_name' => 'requestKeywords',
146  'broadcast_type_code' => 'content_type',
147  'broadcast_strict_type_code' => FALSE,
148  'options' => Array(
149  'side_of_link' => 'major',
150  'indirect' => TRUE,
151  'is_exclusive' => NULL,
152  'is_dependant' => 1,
153  'value' => '',
154  'link_type' => SQ_LINK_TYPE_2 | SQ_LINK_TYPE_1,
155  ),
156  ),
157  );
158 
159  }//end getEventList()
160 
161 
162 }//end class
163 
164 ?>