Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
page_redirect_management.inc
1
<?php
17
require_once SQ_INCLUDE_PATH.
'/asset_management.inc'
;
18
29
class
Page_Redirect_Management
extends
Asset_Management
30
{
31
32
37
function
__construct
(&$pm)
38
{
39
$this->
Asset_Management
($pm);
40
41
$this->vars = Array(
42
'permanent_redirect'
=> Array(
43
'added'
=>
'0.4'
,
44
'type'
=>
'boolean'
,
45
'default'
=> FALSE,
46
'parameters'
=> Array(
47
'allow_empty'
=> FALSE,
48
),
49
50
),
51
'redirect_url'
=> Array(
52
'added'
=>
'0.0.1'
,
53
'type'
=>
'text'
,
54
'default'
=>
''
,
55
'is_admin'
=> FALSE,
56
'description'
=>
'URL to redirect to, including URI scheme'
57
),
58
'url_suffix'
=> Array(
59
'added'
=>
'0.0.1'
,
60
'type'
=>
'text'
,
61
'default'
=>
''
,
62
'description'
=>
'Extra text to append as part of the URL'
,
63
),
64
'timeout'
=> Array(
65
'added'
=>
'0.3'
,
66
'type'
=>
'float'
,
67
'default'
=> 0,
68
'description'
=>
'Amount of time before a page redirects (only applies when new window is turned off)'
,
69
'parameters'
=> Array(
70
'decimal_places'
=> 1,
71
),
72
),
73
'new_window'
=> Array(
74
'added'
=>
'0.0.1'
,
75
'type'
=>
'boolean'
,
76
'default'
=> FALSE,
77
'parameters'
=> Array(
78
'allow_empty'
=> FALSE,
79
),
80
),
81
'new_window_options'
=> Array(
82
'added'
=>
'0.0.1'
,
83
'type'
=>
'selection'
,
84
'default'
=> FALSE,
85
'parameters'
=> Array(
86
'multiple'
=> TRUE,
87
'allow_empty'
=> TRUE,
88
'options'
=> Array(
89
'hide_location'
=>
'Hide Location Bar'
,
90
'hide_menubar'
=>
'Hide Menubar'
,
91
'hide_scrollbars'
=>
'Hide Scrollbars'
,
92
'hide_status'
=>
'Hide Status Bar'
,
93
'hide_toolbar'
=>
'Hide Tool Bar'
,
94
'not_resizable'
=>
'Not Resizable'
,
95
),
96
),
97
),
98
'new_window_width'
=> Array(
99
'added'
=>
'0.0.1'
,
100
'type'
=>
'int'
,
101
'default'
=> 0,
102
),
103
'new_window_height'
=> Array(
104
'added'
=>
'0.0.1'
,
105
'type'
=>
'int'
,
106
'default'
=> 0,
107
),
108
'append_querystring'
=> Array(
109
'added'
=>
'0.2'
,
110
'type'
=>
'boolean'
,
111
'default'
=> FALSE,
112
'parameters'
=> Array(
113
'allow_empty'
=> FALSE,
114
),
115
'description'
=>
'Append inbound query string parameters to outbound destination url.'
,
116
),
117
'use_querystring_parameter'
=> Array(
118
'added'
=>
'0.2'
,
119
'type'
=>
'text'
,
120
'default'
=>
''
,
121
'description'
=>
'Query string parameter name whose value is to be used as the redirect destination'
,
122
),
123
'session_variables'
=> Array(
124
'added'
=>
'0.4'
,
125
'type'
=>
'parameter_map'
,
126
'default'
=> Array(),
127
'description'
=>
'Use saved variables to pass to the redirect page'
,
128
'parameters'
=> Array(
129
'parameters'
=> Array(),
130
),
131
),
132
'session_vars'
=> Array(
133
'added'
=>
'0.4'
,
134
'type'
=>
'option_list'
,
135
'default'
=>
''
,
136
'description'
=>
'Use saved variables to pass to the redirect page'
,
137
),
138
);
139
140
}
//end constructor
141
142
143
}
//end class
144
145
?>
squiz_matrix
packages
cms
page_templates
page_redirect
page_redirect_management.inc
Generated on Tue Jan 29 2013 14:04:58 for Squiz Matrix by
1.8.3.1