1 | <?php |
||
20 | class SyntaxHighlighterDefaults { |
||
21 | |||
22 | /** |
||
23 | * Auto links. |
||
24 | * |
||
25 | * @var bool |
||
26 | */ |
||
27 | private $autoLinks; |
||
28 | |||
29 | /** |
||
30 | * Class name. |
||
31 | * |
||
32 | * @var string |
||
33 | */ |
||
34 | private $className; |
||
35 | |||
36 | /** |
||
37 | * Collapse. |
||
38 | * |
||
39 | * @var bool |
||
40 | */ |
||
41 | private $collapse; |
||
42 | |||
43 | /** |
||
44 | * First line. |
||
45 | * |
||
46 | * @var int |
||
47 | */ |
||
48 | private $firstLine; |
||
49 | |||
50 | /** |
||
51 | * Gutter. |
||
52 | * |
||
53 | * @var bool |
||
54 | */ |
||
55 | private $gutter; |
||
56 | |||
57 | /** |
||
58 | * Highlight. |
||
59 | * |
||
60 | * @var array |
||
61 | */ |
||
62 | private $highlight; |
||
63 | |||
64 | /** |
||
65 | * HTML script. |
||
66 | * |
||
67 | * @var bool |
||
68 | */ |
||
69 | private $htmlScript; |
||
70 | |||
71 | /** |
||
72 | * Samrt tabs. |
||
73 | * |
||
74 | * @var bool |
||
75 | */ |
||
76 | private $smartTabs; |
||
77 | |||
78 | /** |
||
79 | * Tab size. |
||
80 | * |
||
81 | * @var int |
||
82 | */ |
||
83 | private $tabSize; |
||
84 | |||
85 | /** |
||
86 | * Toolbar. |
||
87 | * |
||
88 | * @var bool |
||
89 | */ |
||
90 | private $toolbar; |
||
91 | |||
92 | /** |
||
93 | * Constructor. |
||
94 | */ |
||
95 | public function __construct() { |
||
107 | |||
108 | /** |
||
109 | * Get the auto links. |
||
110 | * |
||
111 | * @return bool Returns the auto links. |
||
112 | */ |
||
113 | public function getAutoLinks() { |
||
116 | |||
117 | /** |
||
118 | * Get the class name. |
||
119 | * |
||
120 | * @return string Returns the class name. |
||
121 | */ |
||
122 | public function getClassName() { |
||
125 | |||
126 | /** |
||
127 | * Get the collapse. |
||
128 | * |
||
129 | * @return bool Returns the collapse. |
||
130 | */ |
||
131 | public function getCollapse() { |
||
134 | |||
135 | /** |
||
136 | * Get the first line. |
||
137 | * |
||
138 | * @return int Returns the first line. |
||
139 | */ |
||
140 | public function getFirstLine() { |
||
143 | |||
144 | /** |
||
145 | * Get the gutter. |
||
146 | * |
||
147 | * @return bool Returns the gutter. |
||
148 | */ |
||
149 | public function getGutter() { |
||
152 | |||
153 | /** |
||
154 | * Get the highlight. |
||
155 | * |
||
156 | * @return array Returns the hightlight. |
||
157 | */ |
||
158 | public function getHighlight() { |
||
161 | |||
162 | /** |
||
163 | * Get the HTML script. |
||
164 | * |
||
165 | * @return bool Returns the HTML script. |
||
166 | */ |
||
167 | public function getHtmlScript() { |
||
170 | |||
171 | /** |
||
172 | * Get the smart tabs. |
||
173 | * |
||
174 | * @return bool Returns the smart tabs. |
||
175 | */ |
||
176 | public function getSmartTabs() { |
||
179 | |||
180 | /** |
||
181 | * Get the tab size. |
||
182 | * |
||
183 | * @return int Returns the tab size. |
||
184 | */ |
||
185 | public function getTabSize() { |
||
188 | |||
189 | /** |
||
190 | * Get the toolbar. |
||
191 | * |
||
192 | * @return bool Returns the toolbar. |
||
193 | */ |
||
194 | public function getToolbar() { |
||
197 | |||
198 | /** |
||
199 | * Set the auto links. |
||
200 | * |
||
201 | * @param bool $autoLinks The auto links. |
||
202 | * @return SyntaxHighlighterDefaults Returns this defaults. |
||
203 | */ |
||
204 | public function setAutoLinks($autoLinks) { |
||
208 | |||
209 | /** |
||
210 | * Set the class name. |
||
211 | * |
||
212 | * @param string $className The class name. |
||
213 | * @return SyntaxHighlighterDefaults Returns this defaults. |
||
214 | */ |
||
215 | public function setClassName($className) { |
||
219 | |||
220 | /** |
||
221 | * Set the collapse. |
||
222 | * |
||
223 | * @param bool $collapse The collapse. |
||
224 | * @return SyntaxHighlighterDefaults Returns this defaults. |
||
225 | */ |
||
226 | public function setCollapse($collapse) { |
||
230 | |||
231 | /** |
||
232 | * Set the first line. |
||
233 | * |
||
234 | * @param int $firstLine The first line. |
||
235 | * @return SyntaxHighlighterDefaults Returns this defaults. |
||
236 | */ |
||
237 | public function setFirstLine($firstLine) { |
||
241 | |||
242 | /** |
||
243 | * Set the gutter. |
||
244 | * |
||
245 | * @param bool $gutter The gutter. |
||
246 | * @return SyntaxHighlighterDefaults Returns this defaults. |
||
247 | */ |
||
248 | public function setGutter($gutter) { |
||
252 | |||
253 | /** |
||
254 | * Set the highlight. |
||
255 | * |
||
256 | * @param array $highlight The highlight. |
||
257 | * @return SyntaxHighlighterDefaults Returns this defaults. |
||
258 | */ |
||
259 | public function setHighlight(array $highlight) { |
||
263 | |||
264 | /** |
||
265 | * Set the HTML script. |
||
266 | * |
||
267 | * @param bool $htmlScript The HTML script. |
||
268 | * @return SyntaxHighlighterDefaults Returns this defaults. |
||
269 | */ |
||
270 | public function setHtmlScript($htmlScript) { |
||
274 | |||
275 | /** |
||
276 | * Set the smart tabs. |
||
277 | * |
||
278 | * @param bool $smartTabs The smart tabs. |
||
279 | * @return SyntaxHighlighterDefaults Returns this defaults. |
||
280 | */ |
||
281 | public function setSmartTabs($smartTabs) { |
||
285 | |||
286 | /** |
||
287 | * Set the tab size. |
||
288 | * |
||
289 | * @param int $tabSize The tab size. |
||
290 | * @return SyntaxHighlighterDefaults Returns this defaults. |
||
291 | */ |
||
292 | public function setTabSize($tabSize) { |
||
296 | |||
297 | /** |
||
298 | * Set the toolbar. |
||
299 | * |
||
300 | * @param bool $toolbar The toolbar. |
||
301 | * @return SyntaxHighlighterDefaults Returns this defaults. |
||
302 | */ |
||
303 | public function setToolbar($toolbar) { |
||
307 | } |
||
308 |