Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
page_asset_listing_management.inc
1
<?php
17
require_once SQ_INCLUDE_PATH.
'/asset_management.inc'
;
18
30
class
Page_Asset_Listing_Management
extends
Asset_Management
31
{
32
33
38
function
__construct
(&$pm)
39
{
40
$this->
Asset_Management
($pm);
41
42
$this->vars[
'all_root_nodes'
] = Array(
43
'added'
=>
'0.14'
,
44
'type'
=>
'boolean'
,
45
'default'
=> FALSE,
46
'parameters'
=> Array(
'allow_empty'
=> FALSE),
47
);
48
49
$this->vars[
'link_value_filter'
] = Array(
50
'added'
=>
'0.1'
,
51
'type'
=>
'text'
,
52
'default'
=>
''
,
53
);
54
$this->vars[
'link_value_filter_enabled'
] = Array(
55
'added'
=>
'0.1'
,
56
'type'
=>
'boolean'
,
57
'default'
=> FALSE,
58
'parameters'
=> Array(
59
'allow_empty'
=> FALSE,
60
),
61
);
62
63
$this->vars[
'link_value_filter_logic'
] = Array(
64
'added'
=>
'0.16'
,
65
'type'
=>
'boolean'
,
66
'default'
=> TRUE,
67
'parameters'
=> Array(
68
'allow_empty'
=> FALSE,
69
),
70
);
71
72
$this->vars[
'parameter_map'
] = Array(
73
'added'
=>
'0.15'
,
74
'type'
=>
'parameter_map'
,
75
'default'
=> Array(),
76
'parameters'
=> Array(
77
'parameters'
=> Array(
78
'root_node'
=>
'Replacement Root node for the listing (must be a child of the static root node)'
,
79
'asset_selection'
=>
'Array of specific asset IDs or selection group (specified assets must be children of the static related node)'
,
80
),
81
),
82
);
83
$this->vars[
'dynamic_asset_selection_option'
] = Array(
84
'added'
=>
'0.16'
,
85
'type'
=>
'selection'
,
86
'default'
=>
'static_root'
,
87
'parameters'
=> Array(
88
'multiple'
=> FALSE,
89
'allow_empty'
=> FALSE,
90
'options'
=> Array(
91
'static_root'
=>
'Use static root node'
,
92
'empty_result'
=>
'Return empty result'
,
93
),
94
),
95
);
96
97
}
//end constructor
98
99
106
function
getEventList
()
107
{
108
return
Array(
109
Array(
110
'event_name'
=>
'requestKeywords'
,
111
'broadcast_type_code'
=>
'content_type'
,
112
'broadcast_strict_type_code'
=> FALSE,
113
'options'
=> Array(
114
'side_of_link'
=>
'major'
,
115
'indirect'
=> TRUE,
116
'is_exclusive'
=> NULL,
117
'is_dependant'
=> 1,
118
'value'
=>
''
,
119
'link_type'
=> SQ_LINK_TYPE_2 | SQ_LINK_TYPE_1,
120
),
121
),
122
);
123
124
}
//end getEventList()
125
126
127
}
//end class
128
129
?>
squiz_matrix
packages
cms
page_templates
page_asset_listing
page_asset_listing_management.inc
Generated on Tue Jan 29 2013 14:04:57 for Squiz Matrix by
1.8.3.1