Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
page_link_manager_management.inc
1
<?php
18
require_once SQ_INCLUDE_PATH.
'/asset_management.inc'
;
19
29
class
Page_Link_Manager_Management
extends
Asset_Management
30
{
31
32
37
function
__construct
(&$pm)
38
{
39
$this->
Asset_Management
($pm);
40
41
42
$this->vars = Array(
43
'asset_selections'
=> Array(
44
'added'
=>
'0.3'
,
45
'type'
=>
'serialise'
,
46
'default'
=> Array(
47
'Linked'
=> Array(
48
'type'
=>
'radio'
,
49
'options'
=> Array(
50
'allow_multiple'
=> 1,
51
'allow_negative'
=> 0,
52
'restrict_range'
=> Array(
53
'enable'
=> 0,
54
'min'
=> 0,
55
'max'
=> 10,
56
),
57
),
58
'permanent'
=> 1,
59
),
60
),
61
'description'
=>
'Sets of named checkboxes, drop-down lists, etc'
,
62
),
63
'link_type'
=> Array(
64
'added'
=>
'0.2'
,
65
'type'
=>
'selection'
,
66
'default'
=> SQ_LINK_TYPE_1,
67
'parameters'
=> Array(
68
'multiple'
=> FALSE,
69
'allow_empty'
=> FALSE,
70
'options'
=> Array(
71
SQ_LINK_TYPE_1 =>
'Type 1'
,
72
SQ_LINK_TYPE_2 =>
'Type 2'
,
73
SQ_LINK_NOTICE =>
'Notice'
,
74
),
75
),
76
'description'
=>
'Type of links to create for new selections'
,
77
),
78
'managed_asset'
=> Array(
79
'added'
=>
'0.1'
,
80
'type'
=>
'assetid'
,
81
'default'
=> 0,
82
'description'
=>
'The asset that the page will manage the links of'
,
83
),
84
'parameter_map'
=> Array(
85
'added'
=>
'0.4'
,
86
'type'
=>
'parameter_map'
,
87
'default'
=> Array(),
88
'parameters'
=> Array(
89
'parameters'
=> Array(
90
'root_node'
=>
'Replacement Root node for the listing (must be a child of the static root node)'
,
91
'managed_asset'
=>
'Replacement Managed Asset for the listing'
,
92
),
93
),
94
),
95
);
96
97
98
}
//end constructor
99
100
107
function
getEventList
()
108
{
109
return
Array(
110
Array(
111
'event_name'
=>
'requestKeywords'
,
112
'broadcast_type_code'
=>
'content_type'
,
113
'broadcast_strict_type_code'
=> FALSE,
114
'options'
=> Array(
115
'side_of_link'
=>
'major'
,
116
'indirect'
=> TRUE,
117
'is_exclusive'
=> NULL,
118
'is_dependant'
=> 1,
119
'value'
=>
''
,
120
'link_type'
=> SQ_LINK_TYPE_2 | SQ_LINK_TYPE_1,
121
),
122
),
123
);
124
125
}
//end getEventList()
126
127
128
}
//end class
129
130
?>
squiz_matrix
packages
cms
page_templates
page_link_manager
page_link_manager_management.inc
Generated on Tue Jan 29 2013 14:04:58 for Squiz Matrix by
1.8.3.1