Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
design_area_searchbox_management.inc
1
<?php
17
require_once SQ_INCLUDE_PATH.
'/asset_management.inc'
;
18
29
class
Design_Area_SearchBox_Management
extends
Asset_Management
30
{
31
32
38
function
Design_Area_SearchBox_Management
(&$pm)
39
{
40
$this->
Asset_Management
($pm);
41
42
$this->vars[
'search_page_assetid'
] = Array(
43
'added'
=>
'0.1'
,
44
'type'
=>
'assetid'
,
45
'default'
=>
''
,
46
'description'
=>
'Search Page where queries are deferred to and results displayed on.'
,
47
);
48
49
$this->vars[
'submit_button'
] = Array(
50
'added'
=>
'0.1'
,
51
'type'
=>
'boolean'
,
52
'default'
=> TRUE,
53
'description'
=>
'Whether the search button is a button or an image.'
,
54
'parameters'
=> Array(
'allow_empty'
=> FALSE, ),
55
);
56
57
$this->vars[
'submit_button_text'
] = Array(
58
'added'
=>
'0.2'
,
59
'type'
=>
'text'
,
60
'default'
=>
'Go'
,
61
);
62
63
$this->vars[
'submit_image_assetid'
] = Array(
64
'added'
=>
'0.1'
,
65
'type'
=>
'assetid'
,
66
'default'
=>
''
,
67
'description'
=>
'Image Icon Asset'
,
68
);
69
70
$this->vars[
'querybox_width'
] = Array(
71
'added'
=>
'0.1'
,
72
'type'
=>
'int'
,
73
'default'
=>
'5'
,
74
'description'
=>
'The width of the single query box.'
,
75
);
76
77
$this->vars[
'field_name'
] = Array(
78
'added'
=>
'0.1'
,
79
'type'
=>
'text'
,
80
'default'
=>
''
,
81
'description'
=>
'The field defined in the search page that this is attached to.'
,
82
);
83
84
$this->vars[
'default_text'
] = Array(
85
'added'
=>
'0.1'
,
86
'type'
=>
'text'
,
87
'default'
=>
''
,
88
'description'
=>
'The default text to display in the search box.'
,
89
);
90
91
$this->vars[
'category_set'
] = Array(
92
'added'
=>
'0.3'
,
93
'type'
=>
'text'
,
94
'default'
=>
''
,
95
'description'
=>
'The category set to be used for the search box.'
,
96
);
97
$this->vars[
'category_show_empty'
] = Array(
98
'added'
=>
'0.3'
,
99
'type'
=>
'boolean'
,
100
'default'
=> FALSE,
101
'description'
=>
'Should an "empty" category be listed?'
,
102
'parameters'
=> Array(
103
'allow_empty'
=> FALSE,
104
),
105
);
106
$this->vars[
'category_default'
] = Array(
107
'added'
=>
'0.3'
,
108
'type'
=>
'text'
,
109
'default'
=>
''
,
110
'description'
=>
'Default category value'
,
111
);
112
113
$this->vars[
'querybox_title'
] = Array(
114
'added'
=>
'0.3'
,
115
'type'
=>
'text'
,
116
'default'
=>
''
,
117
'description'
=>
'The title attribute of the search input box'
,
118
);
119
$this->vars[
'querybox_label'
] = Array(
120
'added'
=>
'0.3'
,
121
'type'
=>
'text'
,
122
'default'
=>
''
,
123
'description'
=>
'The label text for the search input box'
,
124
);
125
}
//end constructor
126
127
128
}
//end class
129
?>
squiz_matrix
packages
search
searchbox
design_area_searchbox_management.inc
Generated on Tue Jan 29 2013 14:05:03 for Squiz Matrix by
1.8.3.1