Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
news_item_management.inc
1
<?php
17
require_once SQ_INCLUDE_PATH.
'/asset_management.inc'
;
18
19
30
class
News_Item_Management
extends
Asset_Management
31
{
32
33
38
function
__construct
(
Package_Manager
$pm)
39
{
40
Asset_Management::__construct($pm);
41
42
$this->vars[
'name'
] = Array(
43
'added'
=>
'0.1'
,
44
'type'
=>
'text'
,
45
'default'
=>
''
,
46
'is_admin'
=>
false
,
47
'is_contextable'
=> TRUE,
48
);
49
$this->vars[
'link_url'
] = Array(
50
'added'
=>
'0.1'
,
51
'type'
=>
'text'
,
52
'default'
=>
''
,
53
'is_admin'
=>
false
,
54
);
55
$this->vars[
'url_suffix'
] = Array(
56
'added'
=>
'0.1'
,
57
'type'
=>
'text'
,
58
'default'
=>
''
,
59
'description'
=>
'Extra text to send as part of the URL query string'
,
60
'is_admin'
=>
false
,
61
);
62
$this->vars[
'summary'
] = Array(
63
'added'
=>
'0.1'
,
64
'type'
=>
'wysiwyg'
,
65
'default'
=>
''
,
66
'description'
=>
'Short summary of the item'
,
67
'is_admin'
=>
false
,
68
'is_contextable'
=> TRUE,
69
);
70
$this->vars[
'body'
] = Array(
71
'added'
=>
'0.1'
,
72
'type'
=>
'wysiwyg'
,
73
'default'
=>
''
,
74
'is_admin'
=>
false
,
75
'is_contextable'
=> TRUE,
76
);
77
78
$this->vars[
'contact_name'
] = Array(
79
'added'
=>
'0.2'
,
80
'type'
=>
'text'
,
81
'default'
=>
''
,
82
'is_admin'
=>
false
,
83
);
84
85
$this->vars[
'contact_phone'
] = Array(
86
'added'
=>
'0.2'
,
87
'type'
=>
'text'
,
88
'default'
=>
''
,
89
'is_admin'
=>
false
,
90
);
91
92
$this->vars[
'show_headline'
] = Array(
93
'added'
=>
'0.3'
,
94
'type'
=>
'boolean'
,
95
'default'
=>
true
,
96
'parameters'
=> Array(
97
'allow_empty'
=>
false
,
98
),
99
'is_admin'
=>
false
,
100
);
101
102
$this->vars[
'show_summary'
] = Array(
103
'added'
=>
'0.3'
,
104
'type'
=>
'boolean'
,
105
'default'
=>
true
,
106
'parameters'
=> Array(
107
'allow_empty'
=>
false
,
108
),
109
'is_admin'
=>
false
,
110
);
111
112
$this->vars[
'show_body'
] = Array(
113
'added'
=>
'0.3'
,
114
'type'
=>
'boolean'
,
115
'default'
=>
true
,
116
'parameters'
=> Array(
117
'allow_empty'
=>
false
,
118
),
119
'is_admin'
=>
false
,
120
);
121
122
$this->vars[
'show_contact_name'
] = Array(
123
'added'
=>
'0.3'
,
124
'type'
=>
'boolean'
,
125
'default'
=>
true
,
126
'parameters'
=> Array(
127
'allow_empty'
=>
false
,
128
),
129
'is_admin'
=>
false
,
130
);
131
132
$this->vars[
'show_contact_phone'
] = Array(
133
'added'
=>
'0.3'
,
134
'type'
=>
'boolean'
,
135
'default'
=>
true
,
136
'parameters'
=> Array(
137
'allow_empty'
=>
false
,
138
),
139
'is_admin'
=>
false
,
140
);
141
142
$this->components[
'summary'
] = Array (
143
'description'
=>
'Summary'
,
144
'default_weighting'
=>
'1'
,
145
);
146
$this->components[
'body'
] = Array (
147
'description'
=>
'Body'
,
148
'default_weighting'
=>
'1'
,
149
);
150
151
152
}
//end constructor
153
154
155
}
//end class
156
157
?>
squiz_matrix
packages
news
news_item
news_item_management.inc
Generated on Tue Jan 29 2013 14:05:02 for Squiz Matrix by
1.8.3.1