17 require_once SQ_INCLUDE_PATH.
'/asset_management.inc';
42 $this->vars[
'types'] = Array(
44 'type' =>
'serialise',
47 $this->vars[
'exclude_assets'] = Array (
49 'type' =>
'serialise',
52 $this->vars[
'exclude_root_nodes'] = Array (
54 'type' =>
'serialise',
57 $this->vars[
'exclude_current_asset'] = Array (
61 'parameters' => Array(
'allow_empty' => FALSE,),
62 'description' =>
'Can now exclude the current asset from the results.',
64 $this->vars[
'statuses'] = Array(
66 'type' =>
'serialise',
68 'description' =>
'Statuses that are being listed.',
71 $this->vars[
'list_permission'] = Array(
74 'default' => SQ_PERMISSION_READ,
75 'description' =>
'Only assets that the user has this access to will be listed.',
78 $this->vars[
'list_effective'] = Array(
82 'description' =>
'If effective permissions should be used when listing restricted by permissions.',
85 $this->vars[
'link_types'] = Array(
88 'default' => SQ_SC_LINK_BACKEND_NAV,
89 'description' =>
'Link types that are to be searched. Only applies when Direct Links Only is selected.',
92 $this->vars[
'submit_button_text'] = Array(
95 'default' =>
'Submit',
96 'is_contextable' => TRUE,
99 $this->vars[
'reset_button_text'] = Array(
102 'default' =>
'Reset',
103 'is_contextable' => TRUE,
106 $this->vars[
'sort_by'] = Array(
108 'type' =>
'serialise',
115 'name' =>
'No Sorting',
126 'field' =>
'short_name',
129 'name' =>
'Short Name',
133 'field' =>
'created',
136 'name' =>
'Created Date',
140 'field' =>
'updated',
143 'name' =>
'Last Updated Date',
147 'field' =>
'published',
150 'name' =>
'Last Published Date',
154 'field' =>
'type_code',
156 'name' =>
'Asset Type',
169 $this->vars[
'default_sort_by'] = Array(
175 $this->vars[
'metadata_sort_type'] = Array(
178 'default' =>
'presentation',
181 $this->vars[
'reverse_sort'] = Array(
185 'parameters' => Array(
186 'allow_empty' => FALSE,
190 $this->vars[
'sort_direction_asc_text'] = Array(
193 'default' =>
'Ascending',
194 'is_contextable' => TRUE,
197 $this->vars[
'sort_direction_desc_text'] = Array(
200 'default' =>
'Descending',
201 'is_contextable' => TRUE,
204 $this->vars[
'subs_only'] = Array(
208 'parameters' => Array(
'allow_empty' => FALSE,),
211 $this->vars[
'direction'] = Array(
213 'type' =>
'selection',
215 'parameters' => Array(
217 'allow_empty' => FALSE,
219 'up' =>
'Up the tree',
220 'down' =>
'Down the tree',
225 $this->vars[
'group_by'] = Array(
227 'type' =>
'selection',
228 'default' =>
'number',
229 'parameters' => Array(
231 'allow_empty' => FALSE,
233 'number' =>
'Standard',
234 'letter' =>
'A-Z listing',
235 'grouped' =>
'Custom Grouping',
236 'random' =>
'Random',
241 $this->vars[
'a_z_style'] = Array(
243 'type' =>
'selection',
244 'default' =>
'multiple',
245 'parameters' => Array(
247 'allow_empty' => FALSE,
249 'single' =>
'Single Page',
250 'multiple' =>
'Multiple Pages',
255 $this->vars[
'a_z_letter_format'] = Array(
258 'default' =>
' <h3> %letter_group% </h3> ',
261 $this->vars[
'num_per_page'] = Array(
268 $this->vars[
'column_layout'] = Array(
270 'type' =>
'serialise',
271 'default' => Array(
'0' =>
'1'),
274 $this->vars[
'column_layout_type'] = Array(
276 'type' =>
'selection',
277 'default' =>
'table',
278 'parameters' => Array(
280 'allow_empty' => FALSE,
287 $this->vars[
'div_row_class'] = Array(
292 $this->vars[
'asset_positions'] = Array(
294 'type' =>
'serialise',
295 'default' => Array(),
298 $this->vars[
'lineage_seperator'] = Array (
302 'description' =>
'Seperator to use when printing the lineage to a search result asset.',
305 $this->vars[
'root_in_lineage'] = Array(
309 'parameters' => Array(
310 'allow_empty' => FALSE,
314 $this->vars[
'self_in_lineage'] = Array(
318 'parameters' => Array(
319 'allow_empty' => FALSE,
323 $this->vars[
'prev_page_text'] = Array(
326 'default' =>
'Previous',
327 'is_contextable' => TRUE,
330 $this->vars[
'next_page_text'] = Array(
334 'is_contextable' => TRUE,
337 $this->vars[
'parameter_map'] = Array(
339 'type' =>
'parameter_map',
340 'default' => Array(),
341 'parameters' => Array(
342 'parameters' => Array(
343 'root_node' =>
'Replacement root nodes for the listing (must be children of static root nodes)',
348 $this->vars[
'asset_grouping'] = Array(
350 'type' =>
'serialise',
351 'default' => Array(),
354 $this->vars[
'asset_selections'] = Array(
356 'type' =>
'serialise',
357 'default' => Array(),
358 'description' =>
'Sets of named checkboxes, drop-down lists, etc',
361 $this->vars[
'asset_targets'] = Array(
363 'type' =>
'serialise',
364 'default' => Array(),
365 'description' =>
'Adds buttons to the bodycopy that point to other assets or URLs',
368 $this->vars[
'structured_dropdown_options'] = Array(
370 'type' =>
'serialise',
372 'name' =>
'root_node_selection',
375 'asset_types' => Array(),
381 'description' =>
'Options for the Structured Drop Down',
383 $this->vars[
'check_boxes'] = Array(
389 $this->vars[
'other_page_text'] = Array(
392 'default' =>
'[Other]',
393 'is_contextable' => TRUE,
396 $this->vars[
'form_submit_method'] = Array(
398 'type' =>
'selection',
400 'parameters' => Array(
402 'allow_empty' => FALSE,
410 $this->vars[
'min_depth'] = Array(
414 'parameters' => Array(
415 'allow_negative' => FALSE,
416 'allow_empty' => TRUE,
420 $this->vars[
'max_depth'] = Array(
424 'parameters' => Array(
425 'allow_negative' => FALSE,
426 'allow_empty' => TRUE,
431 $this->vars[
'submit_to_page_url'] = Array(
435 'parameters' => Array(
436 'allow_empty' => FALSE,
440 $this->vars[
'proxy_types'] = Array(
442 'type' =>
'serialise',
443 'default' => Array(),
446 $this->vars[
'page_link_format'] = Array(
449 'default' =>
' <a href="%page_link%">%page_number%</a> ',
452 $this->vars[
'current_page_format'] = Array(
455 'default' =>
' %page_number% ',
457 $this->vars[
'start_position'] = Array(
461 'description' =>
'Defines which position in the list to start at',
463 $this->vars[
'dynamic_root_option'] = Array(
465 'type' =>
'selection',
466 'default' =>
'static_root',
467 'parameters' => Array(
469 'allow_empty' => FALSE,
471 'static_root' =>
'Use static root node',
472 'empty_result' =>
'Return empty result',
476 $this->vars[
'hide_no_href_links'] = Array(
480 'parameters' => Array(
481 'allow_empty' => FALSE,
497 'event_name' =>
'requestKeywords',
498 'broadcast_type_code' =>
'content_type',
499 'broadcast_strict_type_code' => FALSE,
501 'side_of_link' =>
'major',
503 'is_exclusive' => NULL,
506 'link_type' => SQ_LINK_TYPE_2 | SQ_LINK_TYPE_1,